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.001616/0.001616, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002084/0.002084, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] 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.9064/0.9064, allocations: 145 MB / 453.8 MB, free: 0.7031 MB / 350.1 MB " [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: BuildSysPro 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.002012/0.002012, allocations: 68.69 kB / 0.628 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 87.82 MB / 0.7138 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5901/0.7743, allocations: 196.3 MB / 0.9055 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007742/0.7821, allocations: 4.05 MB / 0.9095 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009502/0.783, allocations: 27.81 kB / 0.9095 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.7844, allocations: 488.9 kB / 0.91 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.7893, allocations: 1.595 MB / 0.9115 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.7933, allocations: 1.372 MB / 0.9129 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.7964, allocations: 1.643 MB / 0.9145 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.7978, allocations: 0.857 MB / 0.9153 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.7998, allocations: 0.9579 MB / 0.9163 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.8014, allocations: 0.9267 MB / 0.9172 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.8016, allocations: 100 kB / 0.9173 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.8045, allocations: 1.387 MB / 0.9186 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.805, allocations: 374.9 kB / 0.919 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.8058, allocations: 0.5172 MB / 0.9195 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.8091, allocations: 1.715 MB / 0.9212 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8091, allocations: 0 / 0.9212 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8091, allocations: 0 / 0.9212 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.899e-05/0.8091, allocations: 3.938 kB / 0.9212 GB, free: 11.86 MB / 0.7012 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.00302/0.8121, allocations: 1.273 MB / 0.9224 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8122, allocations: 11.97 kB / 0.9224 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.8123, allocations: 94.52 kB / 0.9225 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.814, allocations: 243.2 kB / 0.9227 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.8151, allocations: 0.6233 MB / 0.9233 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.8151, allocations: 37 kB / 0.9234 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.8153, allocations: 52 kB / 0.9234 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.817, allocations: 0.996 MB / 0.9244 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.817, allocations: 15.81 kB / 0.9244 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.8171, allocations: 16 kB / 0.9244 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.8172, allocations: 31.98 kB / 0.9245 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.819, allocations: 1.007 MB / 0.9254 GB, free: 7.293 MB / 0.7012 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.006113/0.8251, allocations: 4.141 MB / 0.9295 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.8263, allocations: 0.5603 MB / 0.93 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.8272, allocations: 485.9 kB / 0.9305 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.8284, allocations: 0.8822 MB / 0.9314 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.8284, allocations: 39 kB / 0.9314 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002551/0.831, allocations: 0.6361 MB / 0.932 GB, free: 184 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=50): time 3.607e-06/0.831, allocations: 0 / 0.932 GB, free: 184 kB / 0.7012 GB Notification: Performance of matching and sorting (n=50): time 0.0196/0.8506, allocations: 3.83 MB / 0.9358 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.8506, allocations: 59.78 kB / 0.9358 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.8518, allocations: 0.7078 MB / 0.9365 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.852, allocations: 37.7 kB / 0.9365 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.8523, allocations: 328.8 kB / 0.9369 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.8525, allocations: 186.4 kB / 0.937 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.8528, allocations: 150.1 kB / 0.9372 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.853, allocations: 322 kB / 0.9375 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.8539, allocations: 392.9 kB / 0.9379 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/0.8548, allocations: 489.5 kB / 0.9383 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.8566, allocations: 0.918 MB / 0.9392 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.8567, allocations: 4 kB / 0.9392 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01283/0.8695, allocations: 2.549 MB / 0.9417 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8695, allocations: 8 kB / 0.9417 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8695, allocations: 4 kB / 0.9417 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.8801, allocations: 1.73 MB / 0.9434 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.8806, allocations: 91.8 kB / 0.9435 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.8952, allocations: 7.151 MB / 0.9505 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009235/0.8961, allocations: 20 kB / 0.9505 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.8962, allocations: 47.92 kB / 0.9505 GB, free: 12.73 MB / 0.7325 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.0004455/0.8967, allocations: 213.7 kB / 0.9508 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.8969, allocations: 79.48 kB / 0.9508 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005543/0.9024, allocations: 1.743 MB / 0.9525 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.9025, allocations: 4 kB / 0.9525 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.9025, allocations: 4 kB / 0.9525 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.9025, allocations: 0 / 0.9525 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.9092, allocations: 2.528 MB / 0.955 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.9092, allocations: 4 kB / 0.955 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.9097, allocations: 87.88 kB / 0.9551 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003743/0.9134, allocations: 0.8061 MB / 0.9559 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.9135, allocations: 16 kB / 0.9559 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007797/0.9213, allocations: 4.838 MB / 0.9606 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9213, allocations: 4 kB / 0.9606 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/0.9271, allocations: 2.148 MB / 0.9627 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/0.9278, allocations: 240.8 kB / 0.963 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.9279, allocations: 15.98 kB / 0.963 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.9286, allocations: 27.98 kB / 0.963 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.9288, allocations: 56.38 kB / 0.963 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.9288, allocations: 16 kB / 0.9631 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007405/0.9296, allocations: 0.5029 MB / 0.9636 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.9296, allocations: 0 / 0.9636 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001125/0.9307, allocations: 287.8 kB / 0.9638 GB, free: 14.69 MB / 0.7481 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.006452/0.9372, allocations: 2.788 MB / 0.9666 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.9411, allocations: 1.413 MB / 0.9679 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.9411, allocations: 4.25 kB / 0.9679 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.9432, allocations: 0.8597 MB / 0.9688 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.9455, allocations: 458 kB / 0.9692 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/0.9794, allocations: 10.43 MB / 0.9794 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.9801, allocations: 0.9828 MB / 0.9804 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007538/0.9809, allocations: 162.6 kB / 0.9805 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.9813, allocations: 283.3 kB / 0.9808 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of SimCode: time 1.502e-06/0.9813, allocations: 4 kB / 0.9808 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07567/1.057, allocations: 29.85 MB / 1.01 GB, free: 15.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.34, allocations: 15.73 kB / 1.01 GB, free: 15.52 MB / 0.795 GB " [Timeout remaining time 648] (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: 16.161056290002307] Failed to read output from testmodel.py, exit status != 0: 12.436114896001527 12.454533815 11.641638786 Calling exit ...