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.001797/0.001797, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002165/0.002165, allocations: 217 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9165/0.9165, allocations: 145 MB / 458.2 MB, free: 15.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.00195/0.00195, allocations: 58.59 kB / 0.6339 GB, free: 7.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 87.88 MB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5923/0.7647, allocations: 198.2 MB / 0.9133 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.7779, allocations: 6.992 MB / 0.9201 GB, free: 200 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.7799, allocations: 63.38 kB / 0.9202 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.7824, allocations: 0.7258 MB / 0.9209 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.7891, allocations: 2.478 MB / 0.9233 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.7931, allocations: 1.488 MB / 0.9248 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005074/0.7982, allocations: 3.059 MB / 0.9277 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.7999, allocations: 0.6985 MB / 0.9284 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.8033, allocations: 1.171 MB / 0.9296 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.8055, allocations: 0.8578 MB / 0.9304 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.8059, allocations: 100 kB / 0.9305 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.8108, allocations: 2.198 MB / 0.9326 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.8115, allocations: 386.8 kB / 0.933 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.8128, allocations: 0.583 MB / 0.9336 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.8181, allocations: 2.515 MB / 0.936 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8181, allocations: 0 / 0.936 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8181, allocations: 0 / 0.936 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.305e-05/0.8182, allocations: 0 / 0.936 GB, free: 15.86 MB / 0.7169 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.004487/0.8226, allocations: 1.598 MB / 0.9376 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8227, allocations: 12.03 kB / 0.9376 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.027e-05/0.8227, allocations: 21.25 kB / 0.9376 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.823, allocations: 118.5 kB / 0.9377 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.8261, allocations: 0.5377 MB / 0.9383 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.8289, allocations: 0.9754 MB / 0.9392 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.829, allocations: 61.3 kB / 0.9393 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.8292, allocations: 65.12 kB / 0.9393 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.832, allocations: 1.112 MB / 0.9404 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.8321, allocations: 0 / 0.9404 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.8322, allocations: 31.94 kB / 0.9405 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.8322, allocations: 29.31 kB / 0.9405 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.8356, allocations: 1.172 MB / 0.9416 GB, free: 10.03 MB / 0.7169 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.006926/0.8426, allocations: 3.125 MB / 0.9447 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.8444, allocations: 0.6489 MB / 0.9453 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.8453, allocations: 396.7 kB / 0.9457 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.8458, allocations: 128.4 kB / 0.9458 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.8469, allocations: 0.5178 MB / 0.9463 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 2.896e-06/0.8469, allocations: 0 / 0.9463 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.003315/0.8503, allocations: 1.229 MB / 0.9475 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.8504, allocations: 144.8 kB / 0.9477 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.8526, allocations: 1.18 MB / 0.9488 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.8528, allocations: 41.64 kB / 0.9489 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.8532, allocations: 445.8 kB / 0.9493 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.8534, allocations: 194.4 kB / 0.9495 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.8538, allocations: 150.2 kB / 0.9496 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8539, allocations: 322 kB / 0.9499 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.8553, allocations: 445 kB / 0.9503 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.8568, allocations: 0.5941 MB / 0.9509 GB, free: 288 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.859, allocations: 0.9297 MB / 0.9518 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.859, allocations: 0 / 0.9518 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003523/0.8626, allocations: 1.197 MB / 0.953 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.8626, allocations: 33.7 kB / 0.953 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.8626, allocations: 7.984 kB / 0.953 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.8627, allocations: 8 kB / 0.953 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/0.8636, allocations: 195.9 kB / 0.9532 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.8636, allocations: 11.92 kB / 0.9532 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.8653, allocations: 247.1 kB / 0.9535 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.8654, allocations: 35.97 kB / 0.9535 GB, free: 13.55 MB / 0.7325 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.0006741/0.8661, allocations: 323.4 kB / 0.9538 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.8664, allocations: 123.2 kB / 0.9539 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.869, allocations: 1.003 MB / 0.9549 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.869, allocations: 11.92 kB / 0.9549 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.869, allocations: 0 / 0.9549 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.869, allocations: 8 kB / 0.9549 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.8747, allocations: 3.137 MB / 0.958 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.8747, allocations: 15.88 kB / 0.958 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.8753, allocations: 124 kB / 0.9581 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.8753, allocations: 11.94 kB / 0.9581 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.8754, allocations: 27.98 kB / 0.9582 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.8754, allocations: 8 kB / 0.9582 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.8754, allocations: 11.94 kB / 0.9582 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.8779, allocations: 1.355 MB / 0.9595 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/0.8786, allocations: 259 kB / 0.9598 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.8789, allocations: 24 kB / 0.9598 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.88, allocations: 99.89 kB / 0.9599 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.8801, allocations: 67.69 kB / 0.9599 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/0.8802, allocations: 39.97 kB / 0.96 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001818/0.8821, allocations: 0.8443 MB / 0.9608 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8821, allocations: 4 kB / 0.9608 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001336/0.8834, allocations: 299.6 kB / 0.9611 GB, free: 5.488 MB / 0.7325 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.003714/0.8871, allocations: 2.139 MB / 0.9632 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.8899, allocations: 0.9743 MB / 0.9641 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.8899, allocations: 0 / 0.9641 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.891, allocations: 495.2 kB / 0.9646 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.8944, allocations: 0.5489 MB / 0.9651 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/0.9143, allocations: 9.412 MB / 0.9743 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000949/0.9152, allocations: 1.069 MB / 0.9754 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001126/0.9163, allocations: 270.6 kB / 0.9756 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/0.917, allocations: 363.3 kB / 0.976 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of SimCode: time 1.443e-06/0.917, allocations: 0 / 0.976 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.072/0.989, allocations: 32.6 MB / 1.008 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.77, allocations: 15.98 kB / 1.008 GB, free: 5.43 MB / 0.7794 GB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 18.507114148000255] Failed to read output from testmodel.py, exit status != 0: 14.951787153026089 14.979102715 14.155315763 Calling exit ...