Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001154/0.001154, 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.001022/0.001022, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.083/1.083, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6386/0.6386, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5473 GB, free: 8.742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.572e-05, allocations: 6.219 kB / 0.5473 GB, free: 8.734 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6034/0.6034, allocations: 170.4 MB / 0.7136 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006106/0.6095, allocations: 3.807 MB / 0.7173 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.6103, allocations: 25.25 kB / 0.7174 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.6115, allocations: 464.7 kB / 0.7178 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.616, allocations: 1.614 MB / 0.7194 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.6201, allocations: 1.45 MB / 0.7208 GB, free: 14.88 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.6223, allocations: 1.669 MB / 0.7224 GB, free: 13.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009706/0.6233, allocations: 0.8412 MB / 0.7233 GB, free: 13.28 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.6252, allocations: 1.213 MB / 0.7244 GB, free: 12.56 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.6263, allocations: 0.7929 MB / 0.7252 GB, free: 12.12 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.6264, allocations: 98.91 kB / 0.7253 GB, free: 12.12 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.6288, allocations: 1.123 MB / 0.7264 GB, free: 11.51 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.6292, allocations: 385.9 kB / 0.7268 GB, free: 11.23 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.6295, allocations: 401.3 kB / 0.7272 GB, free: 11.01 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.6316, allocations: 1.809 MB / 0.7289 GB, free: 9.816 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6316, allocations: 1.406 kB / 0.7289 GB, free: 9.816 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.766e-06/0.6316, allocations: 0 / 0.7289 GB, free: 9.816 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.6316, allocations: 0 / 0.7289 GB, free: 9.816 MB / 0.573 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.00206/0.6337, allocations: 1.191 MB / 0.7301 GB, free: 8.902 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6337, allocations: 7.531 kB / 0.7301 GB, free: 8.902 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.6338, allocations: 93.83 kB / 0.7302 GB, free: 8.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.6348, allocations: 251.9 kB / 0.7304 GB, free: 8.695 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.6356, allocations: 0.5459 MB / 0.731 GB, free: 8.262 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.6357, allocations: 39.88 kB / 0.731 GB, free: 8.242 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6358, allocations: 58.78 kB / 0.7311 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.637, allocations: 1.045 MB / 0.7321 GB, free: 7.441 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.6371, allocations: 15.11 kB / 0.7321 GB, free: 7.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.6371, allocations: 17.34 kB / 0.7321 GB, free: 7.418 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.6372, allocations: 31.73 kB / 0.7321 GB, free: 7.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6384, allocations: 0.9988 MB / 0.7331 GB, free: 6.91 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.6422, allocations: 3.718 MB / 0.7367 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.643, allocations: 0.5593 MB / 0.7373 GB, free: 3.469 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.6436, allocations: 488.3 kB / 0.7378 GB, free: 3.207 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/0.644, allocations: 134 kB / 0.7379 GB, free: 3.16 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.6441, allocations: 37.69 kB / 0.7379 GB, free: 3.117 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001288/0.6454, allocations: 0.638 MB / 0.7385 GB, free: 2.879 MB / 0.573 GB Notification: Performance of pre-optimization done (n=50): time 4.188e-06/0.6454, allocations: 0 / 0.7385 GB, free: 2.879 MB / 0.573 GB Notification: Performance of matching and sorting (n=50): time 0.009413/0.6548, allocations: 3.677 MB / 0.7421 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.6548, allocations: 63.14 kB / 0.7422 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.6555, allocations: 0.7024 MB / 0.7429 GB, free: 432 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.6556, allocations: 37.11 kB / 0.7429 GB, free: 392 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.6558, allocations: 325.7 kB / 0.7432 GB, free: 100 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.656, allocations: 184 kB / 0.7434 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.6562, allocations: 148.7 kB / 0.7435 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6563, allocations: 335.3 kB / 0.7439 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.6567, allocations: 395.3 kB / 0.7442 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.6573, allocations: 0.5236 MB / 0.7447 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6583, allocations: 0.9268 MB / 0.7457 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6583, allocations: 0 / 0.7457 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006102/0.6644, allocations: 2.559 MB / 0.7482 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.6644, allocations: 4.969 kB / 0.7482 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6644, allocations: 2.656 kB / 0.7482 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004544/0.669, allocations: 1.728 MB / 0.7498 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.6692, allocations: 94.3 kB / 0.7499 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/0.6773, allocations: 6.871 MB / 0.7566 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.6779, allocations: 17.34 kB / 0.7567 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.678, allocations: 50.8 kB / 0.7567 GB, free: 6.945 MB / 0.5886 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.0003679/0.6784, allocations: 209.8 kB / 0.7569 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.6785, allocations: 87.69 kB / 0.757 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.6815, allocations: 1.717 MB / 0.7587 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6816, allocations: 8 kB / 0.7587 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.6816, allocations: 7.938 kB / 0.7587 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.6816, allocations: 3.984 kB / 0.7587 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.685, allocations: 2.386 MB / 0.761 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.685, allocations: 8.906 kB / 0.761 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.6853, allocations: 91.88 kB / 0.7611 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.6871, allocations: 0.7938 MB / 0.7619 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.6871, allocations: 16 kB / 0.7619 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.6915, allocations: 4.604 MB / 0.7664 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6915, allocations: 0 / 0.7664 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.6949, allocations: 2.15 MB / 0.7685 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.6952, allocations: 163.3 kB / 0.7687 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.6952, allocations: 12 kB / 0.7687 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.6955, allocations: 23.98 kB / 0.7687 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.6957, allocations: 60.28 kB / 0.7687 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.6957, allocations: 19.98 kB / 0.7688 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004609/0.6962, allocations: 0.4951 MB / 0.7693 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6962, allocations: 4 kB / 0.7693 GB, free: 10 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008303/0.697, allocations: 283.8 kB / 0.7695 GB, free: 9.727 MB / 0.6042 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 (49): * Single equations (assignments): 47 * 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.003967/0.701, allocations: 2.781 MB / 0.7722 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002268/0.7033, allocations: 1.398 MB / 0.7736 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7033, allocations: 0 / 0.7736 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.7043, allocations: 0.864 MB / 0.7745 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.7055, allocations: 473.2 kB / 0.7749 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/0.7226, allocations: 10.37 MB / 0.785 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.7229, allocations: 389.4 kB / 0.7854 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005188/0.7235, allocations: 158.6 kB / 0.7856 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.7238, allocations: 288.4 kB / 0.7858 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/0.7238, allocations: 0 / 0.7858 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.7757, allocations: 32.97 MB / 0.818 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/10.16, allocations: 6.188 kB / 0.818 GB, free: 8.375 MB / 0.6511 GB " [Timeout remaining time 650] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.383936646394432] Failed to read output from testmodel.py, exit status != 0: 10.261707931756973 10.273343406 9.63924578 Calling exit ...