Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.0008204/0.0008204, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009185/0.0009185, allocations: 209.2 kB / 22.24 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.9215/0.9215, allocations: 230.6 MB / 256 MB, free: 9.598 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.783/0.783, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.0009538/0.0009538, allocations: 70.61 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5611, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001853/0.563, allocations: 1.316 MB / 0.8191 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005571/0.5635, allocations: 259.4 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.5636, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.5636, allocations: 3.938 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.5637, allocations: 18.73 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.564, allocations: 63.48 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.5641, allocations: 38.39 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.5641, allocations: 3.234 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.5642, allocations: 32.92 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.5643, allocations: 16.47 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.5643, allocations: 0 / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.5644, allocations: 65.91 kB / 0.8196 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.5644, allocations: 4.5 kB / 0.8196 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.5645, allocations: 9.281 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.5646, allocations: 75.44 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5646, allocations: 2.625 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5646, allocations: 0 / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5646, allocations: 4 kB / 0.8197 GB, free: 15.86 MB / 0.6198 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.0003912/0.565, allocations: 277.3 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5651, allocations: 10.28 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.5651, allocations: 31.36 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.5655, allocations: 48.19 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.658e-05/0.5655, allocations: 114.4 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.5656, allocations: 384 / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.5656, allocations: 6.656 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.5658, allocations: 90.3 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5658, allocations: 3.938 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5658, allocations: 0 / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5658, allocations: 0 / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.5659, allocations: 33.34 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.5663, allocations: 226.5 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5664, allocations: 49.33 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.5665, allocations: 25.23 kB / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.5665, allocations: 0 / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5665, allocations: 31.36 kB / 0.8206 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.5665, allocations: 0 / 0.8206 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000209/0.5667, allocations: 75.59 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.5668, allocations: 55.98 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.5668, allocations: 110.4 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.5668, allocations: 30.2 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.5669, allocations: 81.33 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5669, allocations: 8.562 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.5669, allocations: 15.7 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.567, allocations: 311.5 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.567, allocations: 13.28 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.5671, allocations: 10.94 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/0.5671, allocations: 31.45 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5671, allocations: 3.938 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.191e-05/0.5672, allocations: 60.44 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5672, allocations: 5.594 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5672, allocations: 1.547 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5673, allocations: 0 / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.5673, allocations: 6.969 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.5673, allocations: 2.234 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.5674, allocations: 8.312 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.5674, allocations: 0 / 0.8214 GB, free: 14.25 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 6.608e-05/0.5674, allocations: 113.1 kB / 0.8215 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.5675, allocations: 4.953 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.5675, allocations: 9.656 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5675, allocations: 1.125 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5675, allocations: 0 / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5675, allocations: 1.953 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.5676, allocations: 139.5 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5676, allocations: 0 / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.5677, allocations: 11.52 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5677, allocations: 0.5625 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.5677, allocations: 7.938 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5677, allocations: 3.578 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5677, allocations: 0 / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.5678, allocations: 154.5 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.5679, allocations: 10.08 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.5679, allocations: 3.938 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.5679, allocations: 1.828 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.5679, allocations: 8.188 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.5679, allocations: 0.6562 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.568, allocations: 90.81 kB / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.568, allocations: 0 / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001519/0.5681, allocations: 5.344 kB / 0.8219 GB, free: 13.7 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.0003612/0.5685, allocations: 0.6854 MB / 0.8226 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.5686, allocations: 37.05 kB / 0.8226 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5686, allocations: 0 / 0.8226 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.5687, allocations: 10.05 kB / 0.8226 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5689, allocations: 6.281 kB / 0.8226 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.5693, allocations: 170.8 kB / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.5694, allocations: 67.02 kB / 0.8228 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.5694, allocations: 0.5156 kB / 0.8228 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.5694, allocations: 9.172 kB / 0.8229 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.5694, allocations: 7.812 kB / 0.8229 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.5858, allocations: 1.737 MB / 0.8246 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.252, allocations: 9.844 kB / 0.8246 GB, free: 11.93 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.238478772807866] Failed to read output from testmodel.py, exit status != 0: 7.331686466000974 7.345885297 6.776679787 Calling exit ...