Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.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.001799/0.001799, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002297/0.002297, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.793 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.9652/0.9652, allocations: 145 MB / 457.4 MB, free: 15.26 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.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",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.002756/0.002756, allocations: 66.67 kB / 0.6331 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 87.9 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5225/0.6906, allocations: 153.5 MB / 0.8688 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004117/0.6948, allocations: 2.176 MB / 0.871 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.6952, allocations: 23.81 kB / 0.871 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.696, allocations: 238.3 kB / 0.8712 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.6984, allocations: 0.9372 MB / 0.8721 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.7006, allocations: 0.8506 MB / 0.873 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.702, allocations: 0.9663 MB / 0.8739 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.7025, allocations: 268.2 kB / 0.8742 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008911/0.7034, allocations: 482.3 kB / 0.8746 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.704, allocations: 314.6 kB / 0.8749 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.704, allocations: 32 kB / 0.8749 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.7057, allocations: 0.8297 MB / 0.8758 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.7059, allocations: 151.5 kB / 0.8759 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.7062, allocations: 195.1 kB / 0.8761 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.708, allocations: 0.9043 MB / 0.877 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.708, allocations: 0 / 0.877 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.708, allocations: 0 / 0.877 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.708, allocations: 0 / 0.877 GB, free: 9.219 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001561/0.7096, allocations: 0.7533 MB / 0.8777 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.7096, allocations: 8.031 kB / 0.8777 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.614e-05/0.7097, allocations: 74.47 kB / 0.8778 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.711, allocations: 183.4 kB / 0.878 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/0.7117, allocations: 323.9 kB / 0.8783 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.7117, allocations: 24.66 kB / 0.8783 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.7118, allocations: 28 kB / 0.8783 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007113/0.7125, allocations: 432.4 kB / 0.8787 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.7125, allocations: 3.938 kB / 0.8787 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.7125, allocations: 16 kB / 0.8788 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.7126, allocations: 11.94 kB / 0.8788 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.7131, allocations: 249.8 kB / 0.879 GB, free: 7.039 MB / 0.6544 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.001976/0.7151, allocations: 1.332 MB / 0.8803 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.7155, allocations: 195.1 kB / 0.8805 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.7157, allocations: 102.3 kB / 0.8806 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/0.7164, allocations: 131.8 kB / 0.8807 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.7164, allocations: 38.42 kB / 0.8807 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.7164, allocations: 4 kB / 0.8808 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0009236/0.7174, allocations: 353.7 kB / 0.8811 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.7174, allocations: 55.41 kB / 0.8811 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.7179, allocations: 425.9 kB / 0.8815 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.7179, allocations: 33.7 kB / 0.8816 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.7181, allocations: 212.4 kB / 0.8818 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.7182, allocations: 83.34 kB / 0.8819 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.7183, allocations: 53.66 kB / 0.8819 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.7184, allocations: 354.7 kB / 0.8823 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.7186, allocations: 79.95 kB / 0.8823 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.7189, allocations: 178.7 kB / 0.8825 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.7193, allocations: 204.8 kB / 0.8827 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7193, allocations: 0 / 0.8827 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005675/0.7199, allocations: 290.2 kB / 0.883 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7199, allocations: 4 kB / 0.883 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7199, allocations: 0 / 0.883 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.7199, allocations: 4 kB / 0.883 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.7202, allocations: 51.91 kB / 0.883 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7202, allocations: 0 / 0.883 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.7204, allocations: 46.16 kB / 0.8831 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.7204, allocations: 8 kB / 0.8831 GB, free: 2.68 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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 0.0001843/0.7206, allocations: 169.7 kB / 0.8832 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.7207, allocations: 43.72 kB / 0.8833 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.7213, allocations: 284 kB / 0.8836 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.7213, allocations: 7.938 kB / 0.8836 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7213, allocations: 0 / 0.8836 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7213, allocations: 7.922 kB / 0.8836 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.7227, allocations: 0.7441 MB / 0.8843 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.7227, allocations: 4 kB / 0.8843 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.7229, allocations: 47.91 kB / 0.8843 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.7229, allocations: 4 kB / 0.8843 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.7229, allocations: 4.75 kB / 0.8844 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.723, allocations: 4 kB / 0.8844 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.723, allocations: 4.188 kB / 0.8844 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.7238, allocations: 0.5078 MB / 0.8849 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.724, allocations: 67.72 kB / 0.8849 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.724, allocations: 11.62 kB / 0.8849 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.7243, allocations: 15.98 kB / 0.8849 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.7244, allocations: 23.91 kB / 0.885 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.7244, allocations: 4 kB / 0.885 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003472/0.7247, allocations: 311.1 kB / 0.8853 GB, free: 328 kB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7247, allocations: 0 / 0.8853 GB, free: 328 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000459/0.7252, allocations: 119.8 kB / 0.8854 GB, free: 208 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001387/0.7266, allocations: 1.113 MB / 0.8865 GB, free: 15.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.7271, allocations: 206.2 kB / 0.8867 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7271, allocations: 0 / 0.8867 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.7273, allocations: 108.1 kB / 0.8868 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7285, allocations: 229.3 kB / 0.887 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.7337, allocations: 3.704 MB / 0.8906 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.734, allocations: 220 kB / 0.8908 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003153/0.7343, allocations: 79.34 kB / 0.8909 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.7345, allocations: 147.3 kB / 0.891 GB, free: 10.23 MB / 0.67 GB Notification: Performance of SimCode: time 7.31e-07/0.7345, allocations: 4 kB / 0.891 GB, free: 10.23 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.781, allocations: 13.59 MB / 0.9043 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.34, allocations: 15.23 kB / 0.9043 GB, free: 13 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice_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_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.180753841996193] Failed to read output from testmodel.py, exit status != 0: 12.460107784252614 12.482244473 11.770658068 Calling exit ...