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.001663/0.001663, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001598/0.001598, allocations: 214.7 kB / 22.25 MB, free: 5.133 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 8.023 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.9127/0.9127, allocations: 145 MB / 457.4 MB, free: 15.69 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.002102/0.002102, allocations: 66.38 kB / 0.6332 GB, free: 7.418 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 87.89 MB / 0.719 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6025/0.7774, allocations: 198.2 MB / 0.9125 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.7891, allocations: 6.989 MB / 0.9193 GB, free: 364 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.7904, allocations: 67.38 kB / 0.9194 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.7923, allocations: 0.7142 MB / 0.9201 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.7984, allocations: 2.479 MB / 0.9225 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.802, allocations: 1.502 MB / 0.924 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.8065, allocations: 3.051 MB / 0.927 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.8077, allocations: 0.7024 MB / 0.9277 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.8105, allocations: 1.183 MB / 0.9288 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.812, allocations: 0.8479 MB / 0.9296 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.8122, allocations: 100 kB / 0.9297 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.8163, allocations: 2.194 MB / 0.9319 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005317/0.8168, allocations: 386.6 kB / 0.9323 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000749/0.8176, allocations: 0.587 MB / 0.9328 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.8218, allocations: 2.523 MB / 0.9353 GB, free: 12 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8218, allocations: 4 kB / 0.9353 GB, free: 8 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8218, allocations: 0 / 0.9353 GB, free: 8 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.8218, allocations: 0 / 0.9353 GB, free: 8 kB / 0.7012 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.003535/0.8253, allocations: 1.594 MB / 0.9369 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8254, allocations: 8.031 kB / 0.9369 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.8255, allocations: 118.4 kB / 0.937 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.8285, allocations: 0.5416 MB / 0.9375 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.831, allocations: 0.9677 MB / 0.9384 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.8311, allocations: 61.3 kB / 0.9385 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.8312, allocations: 68 kB / 0.9386 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.8337, allocations: 1.106 MB / 0.9396 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.8337, allocations: 3.938 kB / 0.9397 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.8338, allocations: 28 kB / 0.9397 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.8339, allocations: 37.3 kB / 0.9397 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.8369, allocations: 1.164 MB / 0.9409 GB, free: 10.21 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.006041/0.8429, allocations: 3.132 MB / 0.9439 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.8446, allocations: 0.645 MB / 0.9445 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.8454, allocations: 394.1 kB / 0.9449 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/0.8459, allocations: 128.3 kB / 0.945 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.847, allocations: 0.5178 MB / 0.9455 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 2.013e-06/0.847, allocations: 0 / 0.9455 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.00307/0.8501, allocations: 1.221 MB / 0.9467 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.8502, allocations: 148.8 kB / 0.9469 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.8522, allocations: 1.18 MB / 0.948 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.8523, allocations: 41.7 kB / 0.9481 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.8527, allocations: 441.8 kB / 0.9485 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.8529, allocations: 190.4 kB / 0.9487 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.8532, allocations: 154.2 kB / 0.9488 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8533, allocations: 330 kB / 0.9491 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.8545, allocations: 437 kB / 0.9496 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.8559, allocations: 0.598 MB / 0.9501 GB, free: 476 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.858, allocations: 0.9257 MB / 0.951 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.858, allocations: 4 kB / 0.951 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003056/0.861, allocations: 1.204 MB / 0.9522 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.8611, allocations: 41.69 kB / 0.9523 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8611, allocations: 4 kB / 0.9523 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.8611, allocations: 4 kB / 0.9523 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/0.8621, allocations: 195.9 kB / 0.9525 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.8621, allocations: 11.92 kB / 0.9525 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.8635, allocations: 247.1 kB / 0.9527 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/0.8636, allocations: 35.98 kB / 0.9527 GB, free: 13.73 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.0005335/0.8641, allocations: 330.3 kB / 0.9531 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.8644, allocations: 119.2 kB / 0.9532 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.8666, allocations: 1.001 MB / 0.9541 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.8666, allocations: 8 kB / 0.9542 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8666, allocations: 3.938 kB / 0.9542 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.8666, allocations: 3.984 kB / 0.9542 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.8718, allocations: 3.145 MB / 0.9572 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.8718, allocations: 8 kB / 0.9572 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/0.8724, allocations: 120 kB / 0.9574 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.8724, allocations: 15.98 kB / 0.9574 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.8725, allocations: 20 kB / 0.9574 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/0.8725, allocations: 19.92 kB / 0.9574 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.8725, allocations: 8 kB / 0.9574 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.8748, allocations: 1.351 MB / 0.9587 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.8755, allocations: 258.9 kB / 0.959 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.8756, allocations: 27.98 kB / 0.959 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8768, allocations: 99.91 kB / 0.9591 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.8769, allocations: 71.67 kB / 0.9592 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/0.877, allocations: 35.97 kB / 0.9592 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001474/0.8784, allocations: 0.8443 MB / 0.96 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8784, allocations: 0 / 0.96 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001143/0.8796, allocations: 303.6 kB / 0.9603 GB, free: 5.668 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.003164/0.8827, allocations: 2.134 MB / 0.9624 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.8852, allocations: 0.9782 MB / 0.9634 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.8852, allocations: 4 kB / 0.9634 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/0.8861, allocations: 484.8 kB / 0.9638 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/0.8889, allocations: 0.5574 MB / 0.9644 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.9064, allocations: 9.412 MB / 0.9736 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/0.9072, allocations: 1.073 MB / 0.9746 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001067/0.9083, allocations: 272.3 kB / 0.9749 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.9089, allocations: 359.3 kB / 0.9752 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of SimCode: time 1.223e-06/0.9089, allocations: 0 / 0.9752 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08085/0.9897, allocations: 32.57 MB / 1.007 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.49, allocations: 19.88 kB / 1.007 GB, free: 5.625 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 18.30323978799788] Failed to read output from testmodel.py, exit status != 0: 14.617690680999658 14.634134442 13.808918464 Calling exit ...