Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.0007752/0.0007752, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0009373/0.0009373, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.8559/0.8559, allocations: 177.2 MB / 202.8 MB, free: 5.781 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7214/0.7214, allocations: 154.9 MB / 414.2 MB, free: 0.4922 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.PowerLaw05,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",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.0009272/0.0009272, allocations: 68.95 kB / 0.6186 GB, free: 13.26 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4549, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.001731/0.4566, allocations: 1.309 MB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.457, allocations: 284.6 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.4571, allocations: 0 / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.4571, allocations: 1.312 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.4573, allocations: 18.88 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.4575, allocations: 63.58 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.4576, allocations: 37.02 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.4576, allocations: 6.531 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4577, allocations: 40.73 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.4578, allocations: 14.61 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.4578, allocations: 1.469 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.4579, allocations: 61.27 kB / 0.72 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.4579, allocations: 10.02 kB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.4579, allocations: 9.672 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.4581, allocations: 92.53 kB / 0.7201 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4581, allocations: 0 / 0.7201 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4581, allocations: 0 / 0.7201 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4581, allocations: 1.656 kB / 0.7201 GB, free: 21.95 MB / 0.6355 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.0002996/0.4584, allocations: 278 kB / 0.7204 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4585, allocations: 12.25 kB / 0.7204 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.4585, allocations: 31.5 kB / 0.7204 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.4588, allocations: 54.34 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.4588, allocations: 115.5 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.4589, allocations: 1.5 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.4589, allocations: 6.562 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.459, allocations: 85.44 kB / 0.7207 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.459, allocations: 3.938 kB / 0.7207 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.459, allocations: 1 kB / 0.7207 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.459, allocations: 0 / 0.7207 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4592, allocations: 53.41 kB / 0.7207 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.4593, allocations: 139.1 kB / 0.7208 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.4595, allocations: 83.45 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.4596, allocations: 31.42 kB / 0.721 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4596, allocations: 6.156 kB / 0.721 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.4596, allocations: 35.84 kB / 0.721 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4596, allocations: 1.219 kB / 0.721 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002612/0.4599, allocations: 106.2 kB / 0.7211 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.4599, allocations: 51.41 kB / 0.7211 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.4599, allocations: 110 kB / 0.7213 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.4599, allocations: 25.7 kB / 0.7213 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.383e-05/0.46, allocations: 86.11 kB / 0.7214 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.46, allocations: 17.78 kB / 0.7214 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.46, allocations: 15.36 kB / 0.7214 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.993e-05/0.46, allocations: 314 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.4601, allocations: 25.39 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.4601, allocations: 23 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.4602, allocations: 59.36 kB / 0.7218 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4602, allocations: 0 / 0.7218 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001342/0.4604, allocations: 75.62 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4604, allocations: 9.438 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4604, allocations: 0.6562 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4604, allocations: 1.031 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.4605, allocations: 12.33 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4605, allocations: 0.9688 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.4605, allocations: 15.7 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4605, allocations: 1.812 kB / 0.7219 GB, free: 20.38 MB / 0.6355 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 4.501e-05/0.4606, allocations: 109.3 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.4606, allocations: 11.22 kB / 0.722 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.4606, allocations: 10.5 kB / 0.722 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4606, allocations: 1.531 kB / 0.722 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4606, allocations: 7.875 kB / 0.722 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.4606, allocations: 0.7969 kB / 0.722 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.582e-05/0.4607, allocations: 129.7 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4607, allocations: 0.6094 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.4608, allocations: 17.06 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4608, allocations: 3.938 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.4608, allocations: 2.641 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.4608, allocations: 0 / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4608, allocations: 1.125 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.4609, allocations: 107.6 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.461, allocations: 5.469 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.461, allocations: 5.719 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.461, allocations: 16.22 kB / 0.7223 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.461, allocations: 2.156 kB / 0.7223 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.461, allocations: 2.422 kB / 0.7223 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.235e-05/0.4611, allocations: 93.25 kB / 0.7224 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4611, allocations: 0 / 0.7224 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001293/0.4612, allocations: 9 kB / 0.7224 GB, free: 19.9 MB / 0.6355 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.0002466/0.4614, allocations: 0.6425 MB / 0.723 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.4616, allocations: 62.91 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4616, allocations: 0 / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.4616, allocations: 25.25 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.4618, allocations: 10.52 kB / 0.7231 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.4627, allocations: 1.281 MB / 0.7244 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.4628, allocations: 63.91 kB / 0.7244 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.4628, allocations: 7.75 kB / 0.7245 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.4629, allocations: 12.64 kB / 0.7245 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4629, allocations: 0 / 0.7245 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.4808, allocations: 2.261 MB / 0.7267 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.445, allocations: 9.547 kB / 0.7267 GB, free: 17.12 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_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_PowerLaw05.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.17700139596127] Failed to read output from testmodel.py, exit status != 0: 7.523596865939908 7.539011749 7.078747345 Calling exit ...