Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007849/0.0007849, 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.0008841/0.0008841, 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 1.067/1.067, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001604/0.001604, allocations: 240.2 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7527/0.7527, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.869e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001595/0.001614, allocations: 1.29 MB / 0.6475 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.00184, allocations: 111.5 kB / 0.6476 GB, free: 472 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.001867, allocations: 0 / 0.6476 GB, free: 472 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.001887, allocations: 4 kB / 0.6476 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.001967, allocations: 3.938 kB / 0.6477 GB, free: 464 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.002259, allocations: 35.89 kB / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.002336, allocations: 23.86 kB / 0.6477 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.002389, allocations: 0 / 0.6477 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.002433, allocations: 7.984 kB / 0.6477 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.002497, allocations: 4 kB / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.002516, allocations: 0 / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.002633, allocations: 51.94 kB / 0.6478 GB, free: 340 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.002647, allocations: 0 / 0.6478 GB, free: 340 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.002668, allocations: 8 kB / 0.6478 GB, free: 332 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.0028, allocations: 55.73 kB / 0.6478 GB, free: 276 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.002804, allocations: 0 / 0.6478 GB, free: 276 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.002806, allocations: 0 / 0.6478 GB, free: 276 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.002815, allocations: 0 / 0.6478 GB, free: 276 kB / 0.5573 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.41/0.4128, allocations: 247.5 kB / 0.6481 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001694/0.413, allocations: 11.88 kB / 0.6481 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.4131, allocations: 31.69 kB / 0.6481 GB, free: 57.21 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.4131, allocations: 7.422 kB / 0.6481 GB, free: 57.21 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.4133, allocations: 105.3 kB / 0.6482 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4133, allocations: 1.781 kB / 0.6482 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.4133, allocations: 3.688 kB / 0.6482 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.4134, allocations: 35.08 kB / 0.6483 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4134, allocations: 0.6562 kB / 0.6483 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4134, allocations: 3.938 kB / 0.6483 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4134, allocations: 1.25 kB / 0.6483 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.4134, allocations: 6.531 kB / 0.6483 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.4136, allocations: 122.2 kB / 0.6484 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.4136, allocations: 30.14 kB / 0.6484 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.4136, allocations: 5.891 kB / 0.6484 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/0.4141, allocations: 80.41 kB / 0.6485 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4141, allocations: 33.62 kB / 0.6485 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 3.226e-06/0.4141, allocations: 0.9375 kB / 0.6485 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.4143, allocations: 45.75 kB / 0.6486 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.4144, allocations: 55.97 kB / 0.6486 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4145, allocations: 97.8 kB / 0.6487 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4145, allocations: 30.92 kB / 0.6487 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.4145, allocations: 82.33 kB / 0.6488 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.4146, allocations: 13.23 kB / 0.6488 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.4147, allocations: 14.16 kB / 0.6489 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.4147, allocations: 315.1 kB / 0.6492 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.4147, allocations: 4.141 kB / 0.6492 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.4148, allocations: 2.25 kB / 0.6492 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.4148, allocations: 15.66 kB / 0.6492 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4148, allocations: 0.9688 kB / 0.6492 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.464e-05/0.4149, allocations: 41.97 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4149, allocations: 5.5 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4149, allocations: 1.844 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4149, allocations: 5.531 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.415, allocations: 4.031 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.415, allocations: 4.812 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.415, allocations: 1.625 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.415, allocations: 3.938 kB / 0.6492 GB, free: 56.15 MB / 0.5573 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.789e-05/0.4151, allocations: 110.1 kB / 0.6493 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-06/0.4151, allocations: 1 kB / 0.6493 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.4152, allocations: 48.86 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4152, allocations: 8.953 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4152, allocations: 0 / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4152, allocations: 4.125 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.165e-05/0.4153, allocations: 122.3 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4153, allocations: 1.672 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.4154, allocations: 2.656 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.4154, allocations: 1.656 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4154, allocations: 0.9062 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4154, allocations: 6.438 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4154, allocations: 0.5156 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.988e-05/0.4154, allocations: 67.45 kB / 0.6496 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.4154, allocations: 9.625 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.4155, allocations: 2.391 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.4155, allocations: 4.594 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.4155, allocations: 2.156 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4155, allocations: 3.875 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.4155, allocations: 80.27 kB / 0.6497 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4155, allocations: 0 / 0.6497 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001545/0.4157, allocations: 16.42 kB / 0.6497 GB, free: 55.7 MB / 0.5573 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.0004651/0.4161, allocations: 0.6139 MB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.4162, allocations: 10.06 kB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4162, allocations: 0 / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.4163, allocations: 5.859 kB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4166, allocations: 10.98 kB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.4174, allocations: 1.097 MB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.4174, allocations: 57.8 kB / 0.6515 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.4175, allocations: 4.734 kB / 0.6515 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.4175, allocations: 11.31 kB / 0.6515 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of SimCode: time 7.32e-07/0.4175, allocations: 0 / 0.6515 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.4431, allocations: 2.137 MB / 0.6536 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.761, allocations: 3.938 kB / 0.6536 GB, free: 53.16 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.950157045386732] Failed to read output from testmodel.py, exit status != 0: 7.841927192173898 7.852444624 7.847706146 Calling exit ...