Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8759/0.8759, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7409/0.7409, allocations: 154.6 MB / 415.6 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.031e-06/1.031e-06, allocations: 0 / 0.5215 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.055e-05, allocations: 4.562 kB / 0.5215 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001583/0.001603, allocations: 1.298 MB / 0.5228 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.001801, allocations: 117.8 kB / 0.5229 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.001827, allocations: 0 / 0.5229 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.001844, allocations: 5.453 kB / 0.5229 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.974e-05/0.001903, allocations: 0 / 0.5229 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.002063, allocations: 40.77 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.002105, allocations: 15.92 kB / 0.523 GB, free: 424 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.00214, allocations: 5.062 kB / 0.523 GB, free: 420 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.002167, allocations: 7.984 kB / 0.523 GB, free: 412 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.00221, allocations: 3.938 kB / 0.523 GB, free: 408 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.002221, allocations: 5.5 kB / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.00231, allocations: 47.94 kB / 0.523 GB, free: 356 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.002321, allocations: 0 / 0.523 GB, free: 356 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.939e-06/0.002331, allocations: 0.8125 kB / 0.523 GB, free: 356 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.601e-05/0.002417, allocations: 51.86 kB / 0.5231 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002419, allocations: 1.281 kB / 0.5231 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002419, allocations: 0 / 0.5231 GB, free: 304 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.002423, allocations: 0 / 0.5231 GB, free: 304 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002754/0.002698, allocations: 357.6 kB / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.002726, allocations: 12.03 kB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.00275, allocations: 5.234 kB / 0.5234 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.00282, allocations: 112.5 kB / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.002829, allocations: 5.156 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-06/0.002834, allocations: 4.312 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.862e-05/0.002882, allocations: 35.92 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.002888, allocations: 192 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-06/0.002892, allocations: 384 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.002896, allocations: 384 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.28e-05/0.002909, allocations: 10.19 kB / 0.5236 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.514e-05/0.002994, allocations: 93.25 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.003029, allocations: 31.03 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.003041, allocations: 11.75 kB / 0.5237 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.003277, allocations: 96.94 kB / 0.5238 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.003294, allocations: 37.39 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003294, allocations: 1.219 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 8.306e-05/0.003377, allocations: 41.69 kB / 0.5239 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.0034, allocations: 55.34 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.003455, allocations: 154.6 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.003463, allocations: 26.36 kB / 0.5241 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.003497, allocations: 134.9 kB / 0.5243 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.003516, allocations: 5.234 kB / 0.5243 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.003536, allocations: 19.38 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.00363, allocations: 0.4883 MB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-06/0.003636, allocations: 2.438 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.003643, allocations: 4 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.003662, allocations: 15.69 kB / 0.5248 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.003665, allocations: 3.984 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.494e-05/0.003699, allocations: 37.83 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.003708, allocations: 6.969 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.003711, allocations: 0 / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.003717, allocations: 0 / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.722e-05/0.003744, allocations: 7.984 kB / 0.5248 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.003746, allocations: 0 / 0.5248 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.003757, allocations: 4 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.003761, allocations: 3.938 kB / 0.5248 GB, free: 14.32 MB / 0.4948 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 4.886e-05/0.00381, allocations: 157.2 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-06/0.003816, allocations: 7.953 kB / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.003862, allocations: 41.98 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.003864, allocations: 7.938 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.003865, allocations: 0 / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.003868, allocations: 6.578 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.094e-05/0.003919, allocations: 101.2 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.00392, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.003928, allocations: 3.938 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.00393, allocations: 4 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-06/0.003933, allocations: 0 / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003933, allocations: 0 / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003934, allocations: 2.75 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.25e-05/0.003976, allocations: 72.38 kB / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.003982, allocations: 4 kB / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-06/0.003988, allocations: 0 / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.003994, allocations: 0 / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-06/0.004002, allocations: 0 / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.004005, allocations: 8 kB / 0.5252 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.004035, allocations: 132.2 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004035, allocations: 0 / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001208/0.004156, allocations: 15.94 kB / 0.5254 GB, free: 13.71 MB / 0.4948 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 9.424e-05/0.00425, allocations: 112.3 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.824e-05/0.004299, allocations: 21.31 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.004299, allocations: 0 / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.004308, allocations: 11.69 kB / 0.5255 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.004435, allocations: 16.52 kB / 0.5255 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.004701, allocations: 111.6 kB / 0.5256 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.319e-05/0.004724, allocations: 59.28 kB / 0.5257 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.004741, allocations: 5.5 kB / 0.5257 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.004777, allocations: 74.84 kB / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.004778, allocations: 0 / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.001819/0.006597, allocations: 0.7333 MB / 0.5265 GB, free: 12.55 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2661872981116176]