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.0007657/0.0007657, 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.0008667/0.0008667, allocations: 170.3 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.8392/0.8392, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.6873/0.6873, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.888e-05, allocations: 9.203 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001497/0.001516, allocations: 1.283 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.001715, allocations: 91.62 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.001737, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.001752, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.001811, allocations: 4 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.001994, allocations: 35.83 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.002043, allocations: 11.92 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.002083, allocations: 4 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.00212, allocations: 11.94 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.002167, allocations: 7.984 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.00218, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.002275, allocations: 35.95 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.002287, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.002307, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.00241, allocations: 55.8 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002412, allocations: 3.938 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.71e-07/0.002413, allocations: 0 / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.002417, allocations: 4 kB / 0.6196 GB, free: 12.17 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003093/0.002726, allocations: 246.3 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.002766, allocations: 9.469 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.002794, allocations: 34.75 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.002993, allocations: 24.89 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.003093, allocations: 109.8 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.003108, allocations: 4.375 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.003118, allocations: 384 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.003243, allocations: 46.23 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.003251, allocations: 192 / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.003261, allocations: 4.375 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.003267, allocations: 4.125 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.003367, allocations: 23.97 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.003522, allocations: 132.7 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.003647, allocations: 46.55 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.003698, allocations: 12.91 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.003716, allocations: 7.984 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003737, allocations: 34.5 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.003738, allocations: 0 / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0004796/0.004218, allocations: 69.61 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.004251, allocations: 55.34 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.00431, allocations: 106 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.004321, allocations: 25.7 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.004341, allocations: 84.14 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.004362, allocations: 3.953 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.004392, allocations: 17.72 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.004463, allocations: 310.8 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.0045, allocations: 11.98 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.00453, allocations: 15.98 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.004596, allocations: 28.91 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004598, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.614e-05/0.004694, allocations: 65.55 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.004704, allocations: 4 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.004708, allocations: 0 / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.004719, allocations: 0 / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.004788, allocations: 15.92 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.004793, allocations: 0 / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.00482, allocations: 0 / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.004826, allocations: 8.031 kB / 0.6211 GB, free: 10.44 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 (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.842e-05/0.004875, allocations: 110.8 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.00488, allocations: 3.953 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.004902, allocations: 3.312 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.004905, allocations: 7.984 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.00491, allocations: 3.938 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.004913, allocations: 4 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.835e-05/0.004981, allocations: 120.8 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.004982, allocations: 0 / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.005013, allocations: 11.98 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005014, allocations: 4 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.00502, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.005021, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.005022, allocations: 3.938 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.005129, allocations: 85.05 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.005136, allocations: 4 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.005146, allocations: 0 / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.005178, allocations: 3.984 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.005197, allocations: 7.969 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.0052, allocations: 4 kB / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.375e-05/0.005224, allocations: 79.28 kB / 0.6215 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.005224, allocations: 3.938 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001257/0.00535, allocations: 4 kB / 0.6215 GB, free: 9.91 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 (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.0002574/0.005607, allocations: 0.6124 MB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.005708, allocations: 32 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00571, allocations: 0 / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.005741, allocations: 15.98 kB / 0.6221 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.0059, allocations: 10.12 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.006744, allocations: 1.184 MB / 0.6233 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.006785, allocations: 67.27 kB / 0.6234 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.006832, allocations: 8.062 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.006874, allocations: 12.5 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/0.006875, allocations: 0 / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02105, allocations: 2.217 MB / 0.6256 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/6.531, allocations: 12 kB / 0.6256 GB, free: 5.766 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 8.991536419838667] Failed to read output from testmodel.py, exit status != 0: 6.609317548573017 6.622125459 6.617303674 Calling exit ...