Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001257/0.001257, allocations: 116.1 kB / 17.17 MB, free: 6 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.001709/0.001709, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002414/0.002414, allocations: 280.1 kB / 309.8 MB, free: 3.473 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.056/1.056, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003186/0.003186, allocations: 103.8 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6034/0.6065, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2326/0.8392, allocations: 197.7 MB / 1.021 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.8506, allocations: 6.977 MB / 1.028 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.852, allocations: 59.44 kB / 1.028 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.8539, allocations: 0.7103 MB / 1.028 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.86, allocations: 2.447 MB / 1.031 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.8635, allocations: 1.424 MB / 1.032 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.8678, allocations: 2.99 MB / 1.035 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.8691, allocations: 0.7396 MB / 1.036 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.872, allocations: 1.173 MB / 1.037 GB, free: 3.258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.8739, allocations: 0.8588 MB / 1.038 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003454/0.8743, allocations: 100 kB / 1.038 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.879, allocations: 2.163 MB / 1.04 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006912/0.8796, allocations: 378.8 kB / 1.04 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.8809, allocations: 0.5908 MB / 1.041 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.8861, allocations: 2.391 MB / 1.043 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8861, allocations: 4 kB / 1.043 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.664e-06/0.8861, allocations: 0 / 1.043 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.079e-05/0.8862, allocations: 0 / 1.043 GB, free: 12.77 MB / 0.7794 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.004369/0.8906, allocations: 1.677 MB / 1.045 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8906, allocations: 8.031 kB / 1.045 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.697e-05/0.8906, allocations: 17.31 kB / 1.045 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.8908, allocations: 110.5 kB / 1.045 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.8938, allocations: 0.5416 MB / 1.046 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.8962, allocations: 1.048 MB / 1.047 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.8963, allocations: 57.31 kB / 1.047 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.8964, allocations: 71.98 kB / 1.047 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.8989, allocations: 1.105 MB / 1.048 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.899, allocations: 0 / 1.048 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.8991, allocations: 28 kB / 1.048 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.8991, allocations: 33.3 kB / 1.048 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.9022, allocations: 1.168 MB / 1.049 GB, free: 6.77 MB / 0.7794 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.005957/0.9082, allocations: 3.171 MB / 1.052 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.9099, allocations: 0.649 MB / 1.053 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.9107, allocations: 396.4 kB / 1.053 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009534/0.9117, allocations: 1.021 MB / 1.054 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.9127, allocations: 0.5143 MB / 1.055 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=57): time 2.154e-06/0.9127, allocations: 0 / 1.055 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57): time 0.003094/0.9158, allocations: 1.241 MB / 1.056 GB, free: 15.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.9159, allocations: 140.9 kB / 1.056 GB, free: 15.28 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.9179, allocations: 1.169 MB / 1.057 GB, free: 14.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.9179, allocations: 45.64 kB / 1.057 GB, free: 14.04 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.9183, allocations: 449.7 kB / 1.058 GB, free: 13.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.9185, allocations: 202.3 kB / 1.058 GB, free: 13.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.9188, allocations: 138.2 kB / 1.058 GB, free: 13.26 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.919, allocations: 330 kB / 1.058 GB, free: 12.93 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.9202, allocations: 440.9 kB / 1.059 GB, free: 12.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.9217, allocations: 0.5976 MB / 1.059 GB, free: 11.85 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.9239, allocations: 0.9184 MB / 1.06 GB, free: 10.88 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9239, allocations: 4 kB / 1.06 GB, free: 10.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003295/0.9272, allocations: 1.202 MB / 1.061 GB, free: 9.652 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.9273, allocations: 41.69 kB / 1.061 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.9273, allocations: 4 kB / 1.061 GB, free: 9.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.9273, allocations: 7.938 kB / 1.061 GB, free: 9.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/0.9282, allocations: 196 kB / 1.062 GB, free: 9.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.9283, allocations: 7.938 kB / 1.062 GB, free: 9.395 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.9298, allocations: 243.1 kB / 1.062 GB, free: 9.156 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/0.9299, allocations: 44.44 kB / 1.062 GB, free: 9.113 MB / 0.795 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.0005378/0.9304, allocations: 319.4 kB / 1.062 GB, free: 8.785 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.9306, allocations: 119.2 kB / 1.062 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.9329, allocations: 1.001 MB / 1.063 GB, free: 7.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.9329, allocations: 15.92 kB / 1.063 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9329, allocations: 0 / 1.063 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.9329, allocations: 4 kB / 1.063 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004986/0.9379, allocations: 3.154 MB / 1.066 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.9379, allocations: 8 kB / 1.066 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.9385, allocations: 124 kB / 1.066 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.9385, allocations: 11.94 kB / 1.066 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.9386, allocations: 31.92 kB / 1.066 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.9386, allocations: 8 kB / 1.067 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.9386, allocations: 11.94 kB / 1.067 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.9409, allocations: 1.353 MB / 1.068 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/0.9414, allocations: 332 kB / 1.068 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.9416, allocations: 23.98 kB / 1.068 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.9426, allocations: 99.91 kB / 1.068 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.9427, allocations: 63.7 kB / 1.068 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.9428, allocations: 43.97 kB / 1.068 GB, free: 2.098 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001515/0.9443, allocations: 0.8482 MB / 1.069 GB, free: 1.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.9443, allocations: 4 kB / 1.069 GB, free: 1.238 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001056/0.9454, allocations: 303.6 kB / 1.069 GB, free: 0.9414 MB / 0.795 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.00308/0.9485, allocations: 2.12 MB / 1.072 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.9509, allocations: 0.9665 MB / 1.073 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.9509, allocations: 4 kB / 1.073 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/0.9518, allocations: 481.2 kB / 1.073 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.9544, allocations: 0.545 MB / 1.074 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.9715, allocations: 9.431 MB / 1.083 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.9723, allocations: 1.077 MB / 1.084 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001029/0.9733, allocations: 264.7 kB / 1.084 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.9739, allocations: 361.5 kB / 1.084 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.9739, allocations: 0 / 1.084 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/1.035, allocations: 31.94 MB / 1.116 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.39, allocations: 4.062 kB / 1.116 GB, free: 1.637 MB / 0.8419 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.409904430969618] Failed to read output from testmodel.py, exit status != 0: 11.536928022978827 11.549929017 10.66078039 Calling exit ...