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.0007466/0.0007466, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007836/0.0007836, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9139/0.9139, allocations: 230.6 MB / 256 MB, free: 9.84 MB / 202.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.7742/0.7742, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [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: 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.001309/0.001309, allocations: 73.73 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4476, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001595/0.4492, allocations: 1.293 MB / 0.8191 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002319/0.4495, allocations: 95.53 kB / 0.8192 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.4495, allocations: 1.344 kB / 0.8192 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.4495, allocations: 4.547 kB / 0.8192 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.4496, allocations: 8.672 kB / 0.8192 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.4498, allocations: 33.17 kB / 0.8193 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.4498, allocations: 12.22 kB / 0.8193 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.4499, allocations: 4.641 kB / 0.8193 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.4499, allocations: 3.844 kB / 0.8193 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.45, allocations: 12.03 kB / 0.8193 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.45, allocations: 0 / 0.8193 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4501, allocations: 42.56 kB / 0.8193 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.4501, allocations: 5.375 kB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.4501, allocations: 8.141 kB / 0.8194 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.709e-05/0.4502, allocations: 33.84 kB / 0.8194 GB, free: 256 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4502, allocations: 0 / 0.8194 GB, free: 256 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4502, allocations: 0 / 0.8194 GB, free: 256 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4502, allocations: 0 / 0.8194 GB, free: 256 kB / 0.6042 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.0002951/0.4505, allocations: 257 kB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4505, allocations: 11.05 kB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.4506, allocations: 30.75 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.4508, allocations: 23.88 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.4509, allocations: 119 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4509, allocations: 384 / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.4509, allocations: 8.125 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.95e-05/0.451, allocations: 41.08 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.451, allocations: 3.938 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.451, allocations: 0 / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.451, allocations: 0 / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.4511, allocations: 24.3 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.4512, allocations: 135.5 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.4513, allocations: 48.64 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.4513, allocations: 20.59 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.4513, allocations: 0 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.4514, allocations: 35.22 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.4514, allocations: 3.984 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001878/0.4515, allocations: 70.78 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.4516, allocations: 54.03 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.4516, allocations: 101.2 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.4516, allocations: 29.64 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.4517, allocations: 84.14 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.4517, allocations: 12.67 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.4517, allocations: 15.11 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.4518, allocations: 315.4 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.4518, allocations: 9.562 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.4518, allocations: 10.38 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.711e-05/0.4519, allocations: 32.77 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4519, allocations: 4.062 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.043e-05/0.452, allocations: 54.53 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.452, allocations: 9.25 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.452, allocations: 0 / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.452, allocations: 3.75 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.4521, allocations: 9.703 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4521, allocations: 0 / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.4521, allocations: 4.047 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.4521, allocations: 0.6875 kB / 0.8209 GB, free: 14.77 MB / 0.6198 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 5.08e-05/0.4522, allocations: 111.7 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-06/0.4522, allocations: 5.031 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.4522, allocations: 12.64 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4522, allocations: 2.062 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4522, allocations: 4.703 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.4522, allocations: 0 / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.084e-05/0.4523, allocations: 127.1 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.4523, allocations: 2.5 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.4523, allocations: 10.81 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4523, allocations: 4.453 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4523, allocations: 3.938 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4523, allocations: 0.6094 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4523, allocations: 0 / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.4525, allocations: 84.08 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.4525, allocations: 6.656 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.4525, allocations: 7.969 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.4525, allocations: 4.672 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.4525, allocations: 6.922 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.4525, allocations: 0.6094 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.4525, allocations: 79.06 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4525, allocations: 0 / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001212/0.4527, allocations: 7.156 kB / 0.8214 GB, free: 14.3 MB / 0.6198 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.0002629/0.4529, allocations: 0.6181 MB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.453, allocations: 30.17 kB / 0.822 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.453, allocations: 0 / 0.822 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.4531, allocations: 19.67 kB / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.4532, allocations: 6.656 kB / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4543, allocations: 1.177 MB / 0.8232 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.4545, allocations: 0.6738 MB / 0.8238 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.4545, allocations: 5.859 kB / 0.8238 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.4546, allocations: 11.03 kB / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.4546, allocations: 0 / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.4695, allocations: 1.573 MB / 0.8254 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.546, allocations: 6.828 kB / 0.8254 GB, free: 11.43 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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: 10.391730913892388] Failed to read output from testmodel.py, exit status != 0: 7.623333242023364 7.637302964 7.183958089 Calling exit ...