Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007786/0.0007786, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001202/0.001202, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9384/0.9384, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7688/0.7688, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008937/0.0008937, allocations: 65.91 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.543, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001555/0.5446, allocations: 1.289 MB / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.5448, allocations: 86.48 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.5448, allocations: 0 / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.5448, allocations: 4 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.5449, allocations: 8.391 kB / 0.8192 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.5451, allocations: 27.72 kB / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.5451, allocations: 18.86 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.5452, allocations: 0.5625 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.5452, allocations: 9.547 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.5453, allocations: 5.234 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.5453, allocations: 0 / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.5454, allocations: 41.77 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.5454, allocations: 1.656 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.5454, allocations: 9.391 kB / 0.8193 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.5455, allocations: 31.48 kB / 0.8193 GB, free: 24 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5455, allocations: 0.5625 kB / 0.8193 GB, free: 24 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5455, allocations: 3.938 kB / 0.8193 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.5455, allocations: 0 / 0.8193 GB, free: 20 kB / 0.6042 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.0003403/0.5459, allocations: 258.7 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5459, allocations: 14.69 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.5459, allocations: 31.36 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.5461, allocations: 29.17 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.5462, allocations: 104 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.5462, allocations: 384 / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.5463, allocations: 4.25 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.5464, allocations: 44.66 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.5464, allocations: 3.938 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.5464, allocations: 2.312 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5464, allocations: 0 / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.5465, allocations: 31.95 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.5466, allocations: 128.3 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.5467, allocations: 44.2 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.5467, allocations: 15.77 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.5467, allocations: 0 / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.5468, allocations: 42.62 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.5468, allocations: 0 / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.5469, allocations: 74.89 kB / 0.8201 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.547, allocations: 51.41 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.547, allocations: 99.19 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.547, allocations: 31.58 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.5471, allocations: 80.75 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.5471, allocations: 5.266 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.5471, allocations: 17.44 kB / 0.8204 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.5472, allocations: 313.5 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.5472, allocations: 14.98 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.5473, allocations: 15.61 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.5473, allocations: 26.08 kB / 0.8207 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5473, allocations: 0 / 0.8207 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.98e-05/0.5474, allocations: 60 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5474, allocations: 8.656 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5474, allocations: 0 / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5475, allocations: 0.7031 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.5475, allocations: 12.36 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5475, allocations: 0 / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.5476, allocations: 7.672 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5476, allocations: 5.438 kB / 0.8208 GB, free: 14.54 MB / 0.6198 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 5.012e-05/0.5476, allocations: 109.7 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.5476, allocations: 7.922 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.5477, allocations: 8.391 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.5477, allocations: 1.188 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5477, allocations: 0 / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5477, allocations: 2.422 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.5477, allocations: 128.3 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.5477, allocations: 0 / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.5478, allocations: 7.109 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5478, allocations: 5.219 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.5478, allocations: 0 / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5478, allocations: 0.9375 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5478, allocations: 1.312 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.5479, allocations: 89.38 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.5479, allocations: 0.7031 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5479, allocations: 11.98 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.5479, allocations: 1.172 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.5479, allocations: 4.219 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.5479, allocations: 0.7031 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.548, allocations: 83.19 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.548, allocations: 0 / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001234/0.5481, allocations: 4.188 kB / 0.8213 GB, free: 14.09 MB / 0.6198 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.0002764/0.5484, allocations: 0.6238 MB / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.5485, allocations: 31.17 kB / 0.8219 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5485, allocations: 0 / 0.8219 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.5485, allocations: 15.11 kB / 0.8219 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.5487, allocations: 11.83 kB / 0.8219 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.5495, allocations: 1.174 MB / 0.8231 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.5496, allocations: 66.78 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.5496, allocations: 5.891 kB / 0.8231 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.5497, allocations: 9.609 kB / 0.8231 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5497, allocations: 3.938 kB / 0.8231 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.5654, allocations: 2.089 MB / 0.8252 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/7.27, allocations: 9.328 kB / 0.8252 GB, free: 11.38 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.206723746843636] Failed to read output from testmodel.py, exit status != 0: 7.345268476754427 7.357119788 6.809572865 Calling exit ...