Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 66.92 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002814/0.3048, allocations: 1.446 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.3051, allocations: 83.75 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.3051, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.3052, allocations: 3.938 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.3053, allocations: 3.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.3055, allocations: 15.98 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.3056, allocations: 27.92 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3057, allocations: 11.98 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.3057, allocations: 11.92 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.3058, allocations: 15.92 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3058, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.3059, allocations: 19.98 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.3059, allocations: 8 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.3059, allocations: 7.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.3061, allocations: 31.88 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3061, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3061, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3061, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000443/0.3065, allocations: 339.7 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3066, allocations: 12.03 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3068, allocations: 16.92 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3069, allocations: 172.2 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3069, allocations: 4.359 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3069, allocations: 8.359 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3071, allocations: 58.17 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3071, allocations: 192 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3072, allocations: 7.938 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3072, allocations: 0 / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.3074, allocations: 47.94 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.3078, allocations: 261 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.308, allocations: 54.48 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3081, allocations: 32.83 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3082, allocations: 4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3082, allocations: 34.56 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.3082, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004452/0.3086, allocations: 97.62 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.3087, allocations: 55.41 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.3088, allocations: 105.8 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3088, allocations: 29.83 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.3089, allocations: 84.08 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3089, allocations: 11.84 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.309, allocations: 17.7 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3091, allocations: 310.8 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3092, allocations: 27.91 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3094, allocations: 27.98 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.3096, allocations: 48.81 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3096, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002584/0.3098, allocations: 89.48 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3099, allocations: 8.094 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3099, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3099, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.31, allocations: 11.98 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.31, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.3101, allocations: 11.98 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.3101, allocations: 3.938 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.3102, allocations: 109.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.3103, allocations: 8 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3103, allocations: 7.531 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3103, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3103, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3103, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.3105, allocations: 169.6 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3105, allocations: 256 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.3106, allocations: 19.92 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3106, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3106, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3106, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3106, allocations: 4 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.311, allocations: 175.5 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.311, allocations: 85 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.311, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3112, allocations: 15.95 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3112, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3112, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.3113, allocations: 87.28 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3113, allocations: 3.938 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002297/0.3115, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.3116, allocations: 99.77 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.312, allocations: 51.95 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.312, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3121, allocations: 27.97 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3124, allocations: 9.188 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.3128, allocations: 129.5 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3131, allocations: 0.6846 MB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.3131, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3132, allocations: 7.438 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3132, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.002702/0.3159, allocations: 0.5808 MB / 1.074 GB, free: 4.121 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)