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.001263/0.001263, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001569/0.001569, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.8 MB, free: 8.008 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.002442/0.002442, allocations: 278.6 kB / 313.5 MB, free: 2.812 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.202/1.202, allocations: 180.6 MB / 0.5377 GB, free: 12.98 MB / 382.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.002801/0.002801, allocations: 97.42 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1736, allocations: 95.39 MB / 0.8335 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5982/0.7718, allocations: 198.1 MB / 1.027 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008523/0.7803, allocations: 6.967 MB / 1.034 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.7817, allocations: 64 kB / 1.034 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.7833, allocations: 0.7116 MB / 1.035 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005332/0.7886, allocations: 2.49 MB / 1.037 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.7918, allocations: 1.503 MB / 1.038 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004366/0.7962, allocations: 3.089 MB / 1.041 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.7973, allocations: 0.7112 MB / 1.042 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.7997, allocations: 1.171 MB / 1.043 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.801, allocations: 0.8584 MB / 1.044 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.8012, allocations: 98.88 kB / 1.044 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.8051, allocations: 2.2 MB / 1.046 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.8055, allocations: 380.7 kB / 1.047 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006821/0.8062, allocations: 0.5833 MB / 1.047 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.811, allocations: 2.402 MB / 1.05 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.811, allocations: 2.016 kB / 1.05 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.811, allocations: 3.938 kB / 1.05 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.8111, allocations: 0 / 1.05 GB, free: 14.69 MB / 0.7325 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.003574/0.8146, allocations: 1.591 MB / 1.051 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8147, allocations: 15.59 kB / 1.051 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.594e-05/0.8147, allocations: 22.16 kB / 1.051 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.8148, allocations: 118 kB / 1.051 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.8176, allocations: 0.5426 MB / 1.052 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.8198, allocations: 0.9663 MB / 1.053 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.8199, allocations: 51.16 kB / 1.053 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.82, allocations: 76.67 kB / 1.053 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.8223, allocations: 1.112 MB / 1.054 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.8223, allocations: 4 kB / 1.054 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.8224, allocations: 29.72 kB / 1.054 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.8225, allocations: 31.89 kB / 1.054 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.8254, allocations: 1.161 MB / 1.055 GB, free: 11.49 MB / 0.7325 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.005771/0.8312, allocations: 3.122 MB / 1.058 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.8328, allocations: 0.6537 MB / 1.059 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.8335, allocations: 387.8 kB / 1.059 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.834, allocations: 131.9 kB / 1.059 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.835, allocations: 0.5103 MB / 1.06 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.495e-06/0.835, allocations: 0 / 1.06 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.002973/0.838, allocations: 1.233 MB / 1.061 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.8381, allocations: 144.4 kB / 1.061 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.8399, allocations: 1.182 MB / 1.062 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.84, allocations: 38.3 kB / 1.062 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.8404, allocations: 445 kB / 1.063 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.8406, allocations: 201.5 kB / 1.063 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.8409, allocations: 141.7 kB / 1.063 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.841, allocations: 330.7 kB / 1.064 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.8422, allocations: 440.4 kB / 1.064 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.8436, allocations: 0.5981 MB / 1.065 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.8455, allocations: 0.9256 MB / 1.065 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8455, allocations: 0 / 1.065 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002939/0.8485, allocations: 1.201 MB / 1.067 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.8485, allocations: 44.41 kB / 1.067 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8485, allocations: 2.656 kB / 1.067 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.8485, allocations: 5.281 kB / 1.067 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.8494, allocations: 191.7 kB / 1.067 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.8494, allocations: 4.406 kB / 1.067 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.8508, allocations: 256.9 kB / 1.067 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.8509, allocations: 35.16 kB / 1.067 GB, free: 3.832 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.0004768/0.8514, allocations: 325.5 kB / 1.067 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.8516, allocations: 123.7 kB / 1.068 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.8536, allocations: 1.006 MB / 1.069 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.8536, allocations: 13.61 kB / 1.069 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8536, allocations: 2.125 kB / 1.069 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8537, allocations: 0 / 1.069 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.8584, allocations: 3.144 MB / 1.072 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.8584, allocations: 7.906 kB / 1.072 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.8589, allocations: 122.3 kB / 1.072 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.8589, allocations: 10.03 kB / 1.072 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.859, allocations: 22.88 kB / 1.072 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.859, allocations: 18.77 kB / 1.072 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.859, allocations: 8.547 kB / 1.072 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.8611, allocations: 1.355 MB / 1.073 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/0.8617, allocations: 249.7 kB / 1.073 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.8619, allocations: 26.61 kB / 1.073 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.863, allocations: 100.9 kB / 1.073 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.8631, allocations: 68.23 kB / 1.074 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.633e-05/0.8632, allocations: 37.22 kB / 1.074 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00147/0.8647, allocations: 0.8504 MB / 1.074 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.8647, allocations: 0 / 1.074 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001047/0.8657, allocations: 298.2 kB / 1.075 GB, free: 14.91 MB / 0.7481 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.002968/0.8687, allocations: 2.14 MB / 1.077 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.8711, allocations: 0.9723 MB / 1.078 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8711, allocations: 2.781 kB / 1.078 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.872, allocations: 489.5 kB / 1.078 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.8749, allocations: 0.5474 MB / 1.079 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.8929, allocations: 9.406 MB / 1.088 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.8937, allocations: 1.077 MB / 1.089 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8947, allocations: 276.4 kB / 1.089 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.8953, allocations: 359.3 kB / 1.09 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.8953, allocations: 0 / 1.09 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06624/0.9616, allocations: 32.45 MB / 1.121 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.07, allocations: 13.72 kB / 1.121 GB, free: 2.637 MB / 0.7794 GB " [Timeout remaining time 646] (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: 18.248162681993563] Failed to read output from testmodel.py, exit status != 0: 14.245005759003107 14.262194655 13.447419592 Calling exit ...