Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007827/0.0007827, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008722/0.0008722, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 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.9012/0.9012, allocations: 177.1 MB / 202.8 MB, free: 5.734 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-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 0.6943/0.6943, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.41e-05, allocations: 14.92 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001718/0.001742, allocations: 1.302 MB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.002149, allocations: 271 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.002177, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.002196, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.002284, allocations: 11.86 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.002558, allocations: 79.7 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.00263, allocations: 39.8 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.002672, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.002787, allocations: 35.95 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.002829, allocations: 7.938 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.002842, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.002957, allocations: 83.91 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.002972, allocations: 3.984 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.00299, allocations: 7.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003119, allocations: 91.75 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00312, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003121, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.003125, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 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.0003304/0.003456, allocations: 278.1 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.003496, allocations: 15.95 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.00353, allocations: 38.75 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.003557, allocations: 8.891 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.003651, allocations: 113.7 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.003661, allocations: 384 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-06/0.003668, allocations: 384 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003784, allocations: 67.95 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.003793, allocations: 192 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.003803, allocations: 384 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.00381, allocations: 4.125 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.003851, allocations: 8 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.003995, allocations: 128.8 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.004093, allocations: 38.55 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.004117, allocations: 20.86 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.004621, allocations: 135.9 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.004643, allocations: 30.56 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004644, allocations: 0 / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001397/0.004784, allocations: 61.58 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.00481, allocations: 59.34 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.457e-05/0.004864, allocations: 109.8 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004874, allocations: 29.7 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.004898, allocations: 80.14 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.00492, allocations: 3.953 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.004947, allocations: 25.66 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.005026, allocations: 314.8 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.005036, allocations: 0 / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-06/0.005046, allocations: 8 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.005076, allocations: 12.86 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005077, allocations: 4 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.964e-05/0.005127, allocations: 49.91 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.005139, allocations: 4 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.005143, allocations: 48 / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005154, allocations: 7.984 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.005195, allocations: 11.92 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.0052, allocations: 0 / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.005214, allocations: 0 / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005219, allocations: 0 / 0.6216 GB, free: 9.891 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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.395e-05/0.005283, allocations: 114.8 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.005291, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.005384, allocations: 65.64 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005385, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.00539, allocations: 11.86 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005393, allocations: 4 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.548e-05/0.005458, allocations: 124.8 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005459, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.005476, allocations: 11.98 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.005477, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.005483, allocations: 7.938 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.005485, allocations: 4 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.005487, allocations: 3.938 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.483e-05/0.005542, allocations: 69.12 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.005568, allocations: 7.953 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.005577, allocations: 0 / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.0056, allocations: 7.984 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.005612, allocations: 3.938 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.005615, allocations: 4 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.005644, allocations: 83.27 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005644, allocations: 3.938 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001503/0.005794, allocations: 39.88 kB / 0.6221 GB, free: 9.254 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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.000304/0.006098, allocations: 0.6241 MB / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.398e-05/0.006162, allocations: 15.98 kB / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006164, allocations: 3.938 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.00618, allocations: 11.94 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.006362, allocations: 13.81 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.006667, allocations: 157.2 kB / 0.6229 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.595e-05/0.006703, allocations: 67.34 kB / 0.623 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.006731, allocations: 4.547 kB / 0.623 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.006755, allocations: 12.5 kB / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of SimCode: time 3.9e-07/0.006755, allocations: 0 / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.02235, allocations: 2.278 MB / 0.6252 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.402/6.425, allocations: 15.66 kB / 0.6253 GB, free: 6.117 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.099946038797498] Failed to read output from testmodel.py, exit status != 0: 6.503710807301104 6.511882195 6.50719899 Calling exit ...