Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001327/0.001327, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001474/0.001474, allocations: 208.3 kB / 22.24 MB, free: 5.105 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.801 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.8923/0.8923, allocations: 145 MB / 457.4 MB, free: 15.28 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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.002335/0.002335, allocations: 69.17 kB / 0.6331 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1963, allocations: 87.88 MB / 0.7189 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6472/0.8435, allocations: 171.9 MB / 0.8868 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.8561, allocations: 6.575 MB / 0.8933 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.8578, allocations: 63.44 kB / 0.8933 GB, free: 9.359 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.86, allocations: 0.6908 MB / 0.894 GB, free: 8.664 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006996/0.867, allocations: 2.42 MB / 0.8964 GB, free: 6.234 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.8712, allocations: 1.458 MB / 0.8978 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.8763, allocations: 3.02 MB / 0.9007 GB, free: 1.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.878, allocations: 0.6946 MB / 0.9014 GB, free: 1.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.8815, allocations: 1.194 MB / 0.9026 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.8836, allocations: 0.8181 MB / 0.9034 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005833/0.8842, allocations: 100 kB / 0.9035 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/0.8899, allocations: 1.679 MB / 0.9051 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.891, allocations: 386.7 kB / 0.9055 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.8925, allocations: 477.7 kB / 0.9059 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.8978, allocations: 2.457 MB / 0.9083 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8978, allocations: 0 / 0.9083 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8978, allocations: 3.938 kB / 0.9083 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.303e-05/0.8978, allocations: 0 / 0.9083 GB, free: 9.965 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00463/0.9025, allocations: 1.598 MB / 0.9099 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9025, allocations: 15.97 kB / 0.9099 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002761/0.9028, allocations: 114.4 kB / 0.91 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.9058, allocations: 0.5388 MB / 0.9105 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.9086, allocations: 0.9715 MB / 0.9115 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/0.9087, allocations: 57.31 kB / 0.9116 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.9089, allocations: 67.94 kB / 0.9116 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.9117, allocations: 1.238 MB / 0.9128 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.9117, allocations: 3.938 kB / 0.9128 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.9118, allocations: 31.98 kB / 0.9129 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/0.9119, allocations: 29.31 kB / 0.9129 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.9152, allocations: 1.197 MB / 0.9141 GB, free: 3.965 MB / 0.6856 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.006465/0.9217, allocations: 2.887 MB / 0.9169 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.9235, allocations: 0.674 MB / 0.9175 GB, free: 328 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/0.9244, allocations: 419.8 kB / 0.9179 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.9249, allocations: 132.4 kB / 0.9181 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.9261, allocations: 0.6472 MB / 0.9187 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 5.5e-06/0.9261, allocations: 3.984 kB / 0.9187 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.00331/0.9294, allocations: 1.295 MB / 0.92 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.9295, allocations: 140.9 kB / 0.9201 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.9316, allocations: 1.18 MB / 0.9212 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/0.9317, allocations: 45.7 kB / 0.9213 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.9321, allocations: 441.8 kB / 0.9217 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.9323, allocations: 198.3 kB / 0.9219 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.9326, allocations: 150.2 kB / 0.922 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.9327, allocations: 326 kB / 0.9224 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.934, allocations: 478.7 kB / 0.9228 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.9357, allocations: 0.9745 MB / 0.9238 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.9378, allocations: 0.9332 MB / 0.9247 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.9378, allocations: 4 kB / 0.9247 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003303/0.9411, allocations: 1.237 MB / 0.9259 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.9412, allocations: 41.69 kB / 0.9259 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.9412, allocations: 4 kB / 0.9259 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9412, allocations: 4 kB / 0.9259 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.9422, allocations: 188 kB / 0.9261 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.9422, allocations: 7.938 kB / 0.9261 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.9437, allocations: 247.6 kB / 0.9264 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.9438, allocations: 43.98 kB / 0.9264 GB, free: 6.855 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0005348/0.9444, allocations: 327.3 kB / 0.9267 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.9446, allocations: 119.2 kB / 0.9268 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.9468, allocations: 1.027 MB / 0.9278 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.9468, allocations: 19.92 kB / 0.9278 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.9469, allocations: 3.938 kB / 0.9279 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.9469, allocations: 0 / 0.9279 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.952, allocations: 3.003 MB / 0.9308 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.952, allocations: 8 kB / 0.9308 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.9526, allocations: 124 kB / 0.9309 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.9526, allocations: 8 kB / 0.9309 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.9527, allocations: 27.98 kB / 0.9309 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/0.9527, allocations: 19.92 kB / 0.931 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.9527, allocations: 8 kB / 0.931 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.9551, allocations: 1.395 MB / 0.9323 GB, free: 484 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/0.9558, allocations: 266.8 kB / 0.9326 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.9559, allocations: 20 kB / 0.9326 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.957, allocations: 103.9 kB / 0.9327 GB, free: 92 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.9571, allocations: 63.67 kB / 0.9328 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.9572, allocations: 40.03 kB / 0.9328 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001531/0.9587, allocations: 0.8442 MB / 0.9336 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9587, allocations: 0 / 0.9336 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001061/0.9598, allocations: 307.6 kB / 0.9339 GB, free: 14.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003137/0.9629, allocations: 2.156 MB / 0.936 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.9654, allocations: 1.045 MB / 0.9371 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.9654, allocations: 4.125 kB / 0.9371 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009663/0.9664, allocations: 0.5049 MB / 0.9375 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.9691, allocations: 0.5573 MB / 0.9381 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.9862, allocations: 9.58 MB / 0.9474 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.9868, allocations: 486.6 kB / 0.9479 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001099/0.9879, allocations: 280.1 kB / 0.9482 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.9884, allocations: 355.3 kB / 0.9485 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/0.9884, allocations: 0 / 0.9485 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/1.063, allocations: 34.69 MB / 0.9824 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.4, allocations: 7.859 kB / 0.9824 GB, free: 13.13 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.089345844928175] Failed to read output from testmodel.py, exit status != 0: 13.533682508859783 13.560024929 12.657300705 Calling exit ...