Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.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.0008802/0.0008802, 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.0009626/0.0009626, 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.9261/0.9261, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7492/0.7492, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.498e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4858/0.4858, allocations: 170.3 MB / 0.7844 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006154/0.4919, allocations: 3.947 MB / 0.7882 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.4934, allocations: 26.25 kB / 0.7883 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.4949, allocations: 473.7 kB / 0.7887 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.4992, allocations: 1.672 MB / 0.7903 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.5032, allocations: 1.456 MB / 0.7918 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.5064, allocations: 1.716 MB / 0.7934 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.5076, allocations: 0.861 MB / 0.7943 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.5107, allocations: 1.392 MB / 0.7956 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.5118, allocations: 0.7935 MB / 0.7964 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.512, allocations: 104.2 kB / 0.7965 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.5148, allocations: 1.156 MB / 0.7976 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.5151, allocations: 392.1 kB / 0.798 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.5156, allocations: 407.9 kB / 0.7984 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.5182, allocations: 1.831 MB / 0.8002 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5182, allocations: 2.344 kB / 0.8002 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5183, allocations: 0 / 0.8002 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.28e-05/0.5183, allocations: 0 / 0.8002 GB, free: 1.035 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002493/0.5208, allocations: 1.194 MB / 0.8014 GB, free: 120 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5208, allocations: 12.5 kB / 0.8014 GB, free: 120 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5209, allocations: 94.25 kB / 0.8015 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.5227, allocations: 439.2 kB / 0.8019 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.5236, allocations: 0.577 MB / 0.8024 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.5236, allocations: 38.34 kB / 0.8025 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5237, allocations: 51.38 kB / 0.8025 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5251, allocations: 1.184 MB / 0.8037 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5252, allocations: 2.812 kB / 0.8037 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.5252, allocations: 25.09 kB / 0.8037 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.5253, allocations: 29.64 kB / 0.8037 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.5268, allocations: 1.197 MB / 0.8049 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.5313, allocations: 3.904 MB / 0.8087 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.5327, allocations: 0.8536 MB / 0.8096 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.5335, allocations: 0.5746 MB / 0.8101 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.5337, allocations: 85.88 kB / 0.8102 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5338, allocations: 49.69 kB / 0.8103 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/0.5351, allocations: 0.6345 MB / 0.8109 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 4.769e-06/0.5351, allocations: 0 / 0.8109 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.009981/0.5451, allocations: 3.97 MB / 0.8147 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.5451, allocations: 63.94 kB / 0.8148 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/0.546, allocations: 0.7175 MB / 0.8155 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.5461, allocations: 36.64 kB / 0.8155 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5463, allocations: 327.3 kB / 0.8159 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5465, allocations: 180.1 kB / 0.816 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.5467, allocations: 158.7 kB / 0.8162 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5468, allocations: 335.7 kB / 0.8165 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.5475, allocations: 497.7 kB / 0.817 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.5483, allocations: 0.6275 MB / 0.8176 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.5497, allocations: 1.097 MB / 0.8187 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5497, allocations: 0 / 0.8187 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006906/0.5566, allocations: 2.746 MB / 0.8213 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.5566, allocations: 5.938 kB / 0.8213 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.5567, allocations: 6.688 kB / 0.8214 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/0.5613, allocations: 1.726 MB / 0.823 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.5618, allocations: 131.7 kB / 0.8232 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008346/0.5701, allocations: 6.874 MB / 0.8299 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.571, allocations: 48 kB / 0.8299 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.5711, allocations: 47.92 kB / 0.83 GB, free: 10.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000416/0.5715, allocations: 206.7 kB / 0.8302 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.5717, allocations: 91.42 kB / 0.8303 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.5749, allocations: 1.912 MB / 0.8321 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.575, allocations: 4 kB / 0.8321 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.575, allocations: 4 kB / 0.8321 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.575, allocations: 3.984 kB / 0.8321 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.5793, allocations: 2.683 MB / 0.8348 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5793, allocations: 0 / 0.8348 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.5797, allocations: 122.7 kB / 0.8349 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.5817, allocations: 0.8017 MB / 0.8357 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.5817, allocations: 19.98 kB / 0.8357 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.5861, allocations: 4.614 MB / 0.8402 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5861, allocations: 0 / 0.8402 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.5904, allocations: 2.45 MB / 0.8426 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.5909, allocations: 179.3 kB / 0.8427 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/0.591, allocations: 16 kB / 0.8428 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.5915, allocations: 51.94 kB / 0.8428 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.5917, allocations: 44.41 kB / 0.8428 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.5917, allocations: 23.98 kB / 0.8429 GB, free: 12.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005331/0.5922, allocations: 0.5107 MB / 0.8434 GB, free: 12.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.5922, allocations: 0 / 0.8434 GB, free: 12.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008785/0.5931, allocations: 295.8 kB / 0.8437 GB, free: 11.76 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004422/0.5975, allocations: 3.092 MB / 0.8467 GB, free: 8.621 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.6004, allocations: 1.604 MB / 0.8482 GB, free: 6.992 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6005, allocations: 4.062 kB / 0.8482 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.6021, allocations: 0.9492 MB / 0.8492 GB, free: 6.012 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.6036, allocations: 462.4 kB / 0.8496 GB, free: 5.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/0.6236, allocations: 11.06 MB / 0.8604 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.6239, allocations: 393.4 kB / 0.8608 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007332/0.6246, allocations: 174.7 kB / 0.861 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.625, allocations: 292.4 kB / 0.8612 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/0.625, allocations: 3.938 kB / 0.8612 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/0.6833, allocations: 35.38 MB / 0.8958 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.574, allocations: 4.5 kB / 0.8958 GB, free: 6.68 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.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_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.539911887608469] Failed to read output from testmodel.py, exit status != 0: 8.67561188340187 8.684721421 8.164286899 Calling exit ...