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.001396/0.001396, allocations: 79.97 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00159/0.00159, allocations: 166.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.394/1.394, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.165/1.165, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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.232e-06/1.232e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.453e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002214/0.002239, allocations: 1.271 MB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002704/0.002509, allocations: 115.5 kB / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.002534, allocations: 0 / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.002552, allocations: 0 / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.002616, allocations: 7.875 kB / 0.6199 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.002819, allocations: 39.83 kB / 0.62 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.002875, allocations: 19.92 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.002922, allocations: 11.92 kB / 0.62 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.002957, allocations: 7.938 kB / 0.62 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.003002, allocations: 4 kB / 0.62 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003016, allocations: 0 / 0.62 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.003148, allocations: 47.94 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.00316, allocations: 0 / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.003181, allocations: 8 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.003311, allocations: 55.78 kB / 0.6201 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003314, allocations: 0 / 0.6201 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003314, allocations: 0 / 0.6201 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.003322, allocations: 4 kB / 0.6201 GB, free: 2.945 MB / 0.5294 GB 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.0003775/0.003699, allocations: 250.3 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.003735, allocations: 12.03 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.003765, allocations: 4.938 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.003905, allocations: 109.8 kB / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.003912, allocations: 384 / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.003922, allocations: 384 / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.798e-05/0.004, allocations: 30.27 kB / 0.6205 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004008, allocations: 192 / 0.6205 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.004017, allocations: 4.359 kB / 0.6205 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.00402, allocations: 4.375 kB / 0.6205 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.004051, allocations: 11.88 kB / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.004196, allocations: 101.3 kB / 0.6206 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.004253, allocations: 22.61 kB / 0.6207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.004275, allocations: 12.91 kB / 0.6207 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004687/0.004744, allocations: 79.92 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.004774, allocations: 34.56 kB / 0.6208 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.004775, allocations: 0 / 0.6208 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.004911, allocations: 45.64 kB / 0.6208 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.004957, allocations: 51.41 kB / 0.6209 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/0.005041, allocations: 105.8 kB / 0.621 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.005057, allocations: 25.7 kB / 0.621 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.005102, allocations: 80.14 kB / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.005123, allocations: 7.891 kB / 0.6211 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.005157, allocations: 17.72 kB / 0.6211 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.005299, allocations: 314.8 kB / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.005313, allocations: 4 kB / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.00532, allocations: 0 / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.005353, allocations: 24.98 kB / 0.6214 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005354, allocations: 0 / 0.6214 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.127e-05/0.005415, allocations: 33.7 kB / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.005428, allocations: 7.938 kB / 0.6215 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.005434, allocations: 11.92 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005446, allocations: 192 / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.005489, allocations: 0 / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.005495, allocations: 4 kB / 0.6215 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.005525, allocations: 7.938 kB / 0.6215 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.005528, allocations: 0 / 0.6215 GB, free: 1.379 MB / 0.5294 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 7.446e-05/0.005603, allocations: 110.9 kB / 0.6216 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.005615, allocations: 7.984 kB / 0.6216 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-05/0.00571, allocations: 48.94 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.005711, allocations: 0 / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005715, allocations: 0 / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.00572, allocations: 3.938 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.323e-05/0.005813, allocations: 101.3 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.005818, allocations: 7.984 kB / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.005839, allocations: 4 kB / 0.6218 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005841, allocations: 0 / 0.6218 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005847, allocations: 4.031 kB / 0.6218 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.005848, allocations: 0 / 0.6218 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005849, allocations: 0 / 0.6218 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.536e-05/0.005934, allocations: 69.02 kB / 0.6218 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.005943, allocations: 4 kB / 0.6218 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.005953, allocations: 7.938 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.005971, allocations: 4 kB / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.005981, allocations: 0 / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005983, allocations: 0 / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.006032, allocations: 79.28 kB / 0.6219 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.006032, allocations: 4.031 kB / 0.6219 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001959/0.006228, allocations: 23.86 kB / 0.622 GB, free: 0.8438 MB / 0.5294 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.0001696/0.006397, allocations: 107.2 kB / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.767e-05/0.006475, allocations: 15.98 kB / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006476, allocations: 0 / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.006489, allocations: 4 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.006702, allocations: 4 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.00698, allocations: 115.1 kB / 0.6222 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.963e-05/0.007029, allocations: 59.34 kB / 0.6222 GB, free: 500 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.007049, allocations: 0 / 0.6222 GB, free: 500 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.00707, allocations: 12.5 kB / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.00707, allocations: 0 / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of Templates: time 0.002896/0.009966, allocations: 0.6405 MB / 0.6229 GB, free: 15.85 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.554646320641041] Failed to read output from testmodel.py, exit status != 0: 0.018001653254032135 0.03207443 0.025877437000000003 Calling exit ...