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.001371/0.001371, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001447/0.001447, allocations: 215 kB / 20.13 MB, free: 2.949 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9302/0.9302, allocations: 145 MB / 454.5 MB, free: 10.43 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.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.001993/0.001993, allocations: 72.47 kB / 0.6287 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1788, allocations: 87.82 MB / 0.7145 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7373/0.9161, allocations: 197.8 MB / 0.9076 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009747/0.9259, allocations: 6.956 MB / 0.9144 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.9279, allocations: 66.22 kB / 0.9145 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.9298, allocations: 0.7175 MB / 0.9152 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.9363, allocations: 2.44 MB / 0.9176 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.9398, allocations: 1.433 MB / 0.919 GB, free: 1.023 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004138/0.9439, allocations: 2.99 MB / 0.9219 GB, free: 1.004 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.9452, allocations: 0.7434 MB / 0.9226 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.9481, allocations: 1.174 MB / 0.9237 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.9495, allocations: 0.8517 MB / 0.9246 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.9497, allocations: 97.16 kB / 0.9247 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.9537, allocations: 2.164 MB / 0.9268 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004476/0.9542, allocations: 378.9 kB / 0.9271 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006957/0.9549, allocations: 0.5855 MB / 0.9277 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.959, allocations: 2.519 MB / 0.9302 GB, free: 472 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.959, allocations: 1.312 kB / 0.9302 GB, free: 472 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.959, allocations: 0 / 0.9302 GB, free: 472 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.9591, allocations: 0 / 0.9302 GB, free: 472 kB / 0.67 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.003561/0.9626, allocations: 1.677 MB / 0.9318 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9627, allocations: 9.344 kB / 0.9318 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.444e-05/0.9627, allocations: 22.72 kB / 0.9318 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.9628, allocations: 114 kB / 0.932 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/0.9658, allocations: 0.5408 MB / 0.9325 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.968, allocations: 1.048 MB / 0.9335 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.968, allocations: 55.62 kB / 0.9336 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.9682, allocations: 69.47 kB / 0.9336 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.9706, allocations: 1.113 MB / 0.9347 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.9706, allocations: 3.938 kB / 0.9347 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.9707, allocations: 25.34 kB / 0.9347 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.9708, allocations: 35.73 kB / 0.9348 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.9737, allocations: 1.161 MB / 0.9359 GB, free: 14.1 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.005886/0.9796, allocations: 3.17 MB / 0.939 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.9813, allocations: 0.6581 MB / 0.9396 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.9821, allocations: 391.9 kB / 0.94 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.9832, allocations: 1.026 MB / 0.941 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.9843, allocations: 0.5162 MB / 0.9415 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 3.166e-06/0.9843, allocations: 0 / 0.9415 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.003173/0.9874, allocations: 1.224 MB / 0.9427 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9876, allocations: 141.1 kB / 0.9429 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.9895, allocations: 1.194 MB / 0.944 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.9896, allocations: 34.55 kB / 0.9441 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.9901, allocations: 447.4 kB / 0.9445 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.9903, allocations: 192.8 kB / 0.9447 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.9906, allocations: 149.2 kB / 0.9448 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9907, allocations: 331.7 kB / 0.9451 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.992, allocations: 435.8 kB / 0.9455 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.9934, allocations: 0.594 MB / 0.9461 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.9955, allocations: 0.9262 MB / 0.947 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9955, allocations: 3.156 kB / 0.947 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003169/0.9987, allocations: 1.208 MB / 0.9482 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.9987, allocations: 35.42 kB / 0.9482 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.9987, allocations: 6.516 kB / 0.9482 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.9987, allocations: 5.375 kB / 0.9483 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/0.9997, allocations: 196 kB / 0.9484 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.9997, allocations: 8.062 kB / 0.9484 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.001, allocations: 250.6 kB / 0.9487 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/1.001, allocations: 33.45 kB / 0.9487 GB, free: 5.258 MB / 0.6856 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.000604/1.002, allocations: 319.9 kB / 0.949 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/1.002, allocations: 129.6 kB / 0.9491 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.004, allocations: 0.9971 MB / 0.9501 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.004, allocations: 9.5 kB / 0.9501 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.004, allocations: 2.344 kB / 0.9501 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.004, allocations: 3.984 kB / 0.9501 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/1.009, allocations: 3.159 MB / 0.9532 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.009, allocations: 7.656 kB / 0.9532 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/1.01, allocations: 122 kB / 0.9533 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/1.01, allocations: 14.39 kB / 0.9534 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/1.01, allocations: 20.81 kB / 0.9534 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.01, allocations: 17.89 kB / 0.9534 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.01, allocations: 14.38 kB / 0.9534 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/1.012, allocations: 1.346 MB / 0.9547 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/1.013, allocations: 343.8 kB / 0.9551 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/1.013, allocations: 17.03 kB / 0.9551 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.014, allocations: 108.5 kB / 0.9552 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.015, allocations: 61.58 kB / 0.9552 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/1.015, allocations: 41.22 kB / 0.9553 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001597/1.016, allocations: 0.8443 MB / 0.9561 GB, free: 268 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.016, allocations: 6.5 kB / 0.9561 GB, free: 264 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001209/1.017, allocations: 298.3 kB / 0.9564 GB, free: 212 kB / 0.6856 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.003373/1.021, allocations: 2.133 MB / 0.9585 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002619/1.023, allocations: 0.9712 MB / 0.9594 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.023, allocations: 0 / 0.9594 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000961/1.024, allocations: 483.8 kB / 0.9599 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/1.027, allocations: 0.5484 MB / 0.9604 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.046, allocations: 9.42 MB / 0.9696 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/1.047, allocations: 1.069 MB / 0.9707 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001154/1.048, allocations: 275.6 kB / 0.9709 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/1.048, allocations: 359.3 kB / 0.9713 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of SimCode: time 7.61e-07/1.048, allocations: 0 / 0.9713 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06712/1.115, allocations: 32.08 MB / 1.003 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.56, allocations: 10.2 kB / 1.003 GB, free: 2.949 MB / 0.7325 GB " [Timeout remaining time 648] (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: 15.399581478035543] Failed to read output from testmodel.py, exit status != 0: 11.707528868981171 11.723176993 10.760747312 Calling exit ...