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.001238/0.001238, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001446/0.001446, allocations: 219.7 kB / 23.04 MB, free: 5.074 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.9433/0.9433, allocations: 145 MB / 458.2 MB, free: 15.57 MB / 366.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",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.002019/0.002019, allocations: 57.66 kB / 0.6339 GB, free: 7.398 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 87.89 MB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5422/0.7126, allocations: 196.7 MB / 0.9119 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006931/0.7196, allocations: 4.056 MB / 0.9158 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.7202, allocations: 31.75 kB / 0.9159 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.7214, allocations: 485 kB / 0.9163 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.725, allocations: 1.61 MB / 0.9179 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.7285, allocations: 1.416 MB / 0.9193 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.7309, allocations: 1.651 MB / 0.9209 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7322, allocations: 0.8383 MB / 0.9217 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.7339, allocations: 0.9618 MB / 0.9227 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.7352, allocations: 0.9267 MB / 0.9236 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.7354, allocations: 100 kB / 0.9237 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.7382, allocations: 1.407 MB / 0.925 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004217/0.7386, allocations: 382.8 kB / 0.9254 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.7392, allocations: 0.5134 MB / 0.9259 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.7417, allocations: 1.71 MB / 0.9276 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7417, allocations: 3.938 kB / 0.9276 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7417, allocations: 4 kB / 0.9276 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.7417, allocations: 0 / 0.9276 GB, free: 8.523 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.002905/0.7446, allocations: 1.194 MB / 0.9287 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7447, allocations: 12.03 kB / 0.9287 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.032e-05/0.7447, allocations: 13.88 kB / 0.9288 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.7448, allocations: 90.52 kB / 0.9288 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.7465, allocations: 243.2 kB / 0.9291 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.7475, allocations: 0.5576 MB / 0.9296 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.7476, allocations: 37 kB / 0.9297 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7477, allocations: 52 kB / 0.9297 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.7494, allocations: 1.004 MB / 0.9307 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.7494, allocations: 3.938 kB / 0.9307 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.7495, allocations: 24.94 kB / 0.9307 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.7496, allocations: 31.98 kB / 0.9307 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.7514, allocations: 1.003 MB / 0.9317 GB, free: 4.129 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.00565/0.757, allocations: 4.095 MB / 0.9357 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.7581, allocations: 0.5548 MB / 0.9363 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.759, allocations: 486.6 kB / 0.9367 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007479/0.7597, allocations: 152.3 kB / 0.9369 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.7597, allocations: 38.98 kB / 0.9369 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002517/0.7623, allocations: 0.636 MB / 0.9375 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 4.128e-06/0.7623, allocations: 3.938 kB / 0.9375 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.01921/0.7815, allocations: 3.668 MB / 0.9411 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.7815, allocations: 63.78 kB / 0.9412 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.7826, allocations: 0.7078 MB / 0.9419 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.7828, allocations: 37.7 kB / 0.9419 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.7831, allocations: 324.8 kB / 0.9422 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.7833, allocations: 182.4 kB / 0.9424 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.7836, allocations: 150 kB / 0.9425 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7837, allocations: 330 kB / 0.9429 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.7845, allocations: 400.4 kB / 0.9432 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.7853, allocations: 484.8 kB / 0.9437 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.787, allocations: 0.9219 MB / 0.9446 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.787, allocations: 0 / 0.9446 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01219/0.7992, allocations: 2.56 MB / 0.9471 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.7992, allocations: 4 kB / 0.9471 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7992, allocations: 4 kB / 0.9471 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/0.8098, allocations: 1.726 MB / 0.9488 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.8103, allocations: 95.88 kB / 0.9489 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.8246, allocations: 6.937 MB / 0.9557 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/0.8255, allocations: 20.05 kB / 0.9557 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.8257, allocations: 43.94 kB / 0.9557 GB, free: 11 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.0004415/0.8261, allocations: 213.7 kB / 0.9559 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.8264, allocations: 87.44 kB / 0.956 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.8319, allocations: 1.732 MB / 0.9577 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.8319, allocations: 4 kB / 0.9577 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8319, allocations: 4 kB / 0.9577 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8319, allocations: 3.984 kB / 0.9577 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.8385, allocations: 2.502 MB / 0.9602 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8386, allocations: 4 kB / 0.9602 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.839, allocations: 84.08 kB / 0.9602 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/0.8426, allocations: 0.8137 MB / 0.961 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.8426, allocations: 16 kB / 0.961 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007541/0.8502, allocations: 4.646 MB / 0.9656 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8502, allocations: 5.062 kB / 0.9656 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005838/0.856, allocations: 2.142 MB / 0.9677 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.8566, allocations: 159.4 kB / 0.9678 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.8567, allocations: 12 kB / 0.9678 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.8573, allocations: 27.92 kB / 0.9679 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.8576, allocations: 52.34 kB / 0.9679 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.8576, allocations: 20 kB / 0.9679 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007138/0.8583, allocations: 0.5029 MB / 0.9684 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6e-08/0.8583, allocations: 0 / 0.9684 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009941/0.8593, allocations: 283.8 kB / 0.9687 GB, free: 13.34 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.00636/0.8657, allocations: 2.804 MB / 0.9714 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003855/0.8695, allocations: 1.41 MB / 0.9728 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8695, allocations: 0 / 0.9728 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.8715, allocations: 0.8595 MB / 0.9737 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.8739, allocations: 460.3 kB / 0.9741 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/0.907, allocations: 10.44 MB / 0.9843 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.9077, allocations: 0.9828 MB / 0.9853 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000716/0.9084, allocations: 166.6 kB / 0.9854 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/0.9089, allocations: 287.3 kB / 0.9857 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/0.9089, allocations: 0 / 0.9857 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/0.9795, allocations: 30.53 MB / 1.015 GB, free: 13.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.16, allocations: 10.98 kB / 1.016 GB, free: 13.46 MB / 0.795 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.901794539007824] Failed to read output from testmodel.py, exit status != 0: 14.347622747009154 14.377522079 13.630259223 Calling exit ...