Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007934/0.0007934, 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.0008277/0.0008277, 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.8622/0.8622, 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 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.7065/0.7065, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.748e-05, allocations: 3.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001561/0.001598, allocations: 1.288 MB / 0.6194 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000217/0.001815, allocations: 111.5 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.00184, allocations: 0 / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.00186, allocations: 3.984 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.001926, allocations: 3.938 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.002121, allocations: 43.88 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.002173, allocations: 7.938 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.002212, allocations: 4 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.002248, allocations: 15.92 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.002296, allocations: 0 / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.002309, allocations: 4 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.002409, allocations: 47.94 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.00242, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.002437, allocations: 7.984 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.002539, allocations: 43.88 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002541, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002542, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002545, allocations: 7.938 kB / 0.6196 GB, free: 12.05 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.0003043/0.00285, allocations: 254.3 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.002893, allocations: 12.03 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.00292, allocations: 30.75 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.00294, allocations: 0.9375 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.00303, allocations: 117.7 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.00304, allocations: 4.375 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.003047, allocations: 4.375 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.594e-05/0.003113, allocations: 30.27 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.00312, allocations: 192 / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.003127, allocations: 384 / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.003132, allocations: 4.125 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.003159, allocations: 4 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.00327, allocations: 124.8 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.003316, allocations: 22.55 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.003337, allocations: 12.92 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.003618, allocations: 91.91 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.003636, allocations: 34.5 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.003637, allocations: 0 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001116/0.003748, allocations: 41.7 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.003774, allocations: 55.34 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/0.00382, allocations: 105.8 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.003828, allocations: 25.7 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.003849, allocations: 84.08 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.003868, allocations: 3.953 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.003889, allocations: 21.84 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.67e-05/0.003956, allocations: 310.8 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.003964, allocations: 4 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.003972, allocations: 7.984 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.003994, allocations: 12.86 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003995, allocations: 0 / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.589e-05/0.004031, allocations: 33.7 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.004041, allocations: 4 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.004045, allocations: 4 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.004055, allocations: 8.031 kB / 0.621 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.004094, allocations: 11.86 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.004099, allocations: 4 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.004109, allocations: 0 / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.004114, allocations: 4 kB / 0.6211 GB, free: 10.4 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.51e-05/0.004159, allocations: 110.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-06/0.004164, allocations: 7.953 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.004226, allocations: 48.95 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.004228, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.004233, allocations: 3.938 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004235, allocations: 4.031 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.812e-05/0.004293, allocations: 124.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004294, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.004304, allocations: 7.984 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.004305, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.00431, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004311, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.004313, allocations: 11.88 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.064e-05/0.004353, allocations: 53.14 kB / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-06/0.004361, allocations: 11.98 kB / 0.6214 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-06/0.004369, allocations: 4.031 kB / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.004376, allocations: 0 / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.004387, allocations: 3.938 kB / 0.6214 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.004388, allocations: 0 / 0.6214 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.004411, allocations: 79.28 kB / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004411, allocations: 3.938 kB / 0.6215 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001282/0.004539, allocations: 15.94 kB / 0.6215 GB, free: 9.84 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.0002674/0.004807, allocations: 0.6163 MB / 0.6221 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.076e-05/0.004867, allocations: 16.03 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004869, allocations: 0 / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.004875, allocations: 4 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.005045, allocations: 13.8 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.005709, allocations: 1.094 MB / 0.6232 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.005751, allocations: 63.28 kB / 0.6233 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.005775, allocations: 12.25 kB / 0.6233 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.0058, allocations: 8.5 kB / 0.6233 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.005801, allocations: 0 / 0.6233 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.01861, allocations: 2.104 MB / 0.6254 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.208, allocations: 3.125 kB / 0.6254 GB, free: 5.914 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.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_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.8603361165151] Failed to read output from testmodel.py, exit status != 0: 7.2891331212595105 7.300155306 7.295842508 Calling exit ...