Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 192.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8706/0.8706, allocations: 129.2 MB / 432.5 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.89 kB / 0.5987 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4688, allocations: 83.45 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6362/1.105, allocations: 194.7 MB / 0.8704 GB, free: 2 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.116, allocations: 6.959 MB / 0.8772 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/1.118, allocations: 45.84 kB / 0.8772 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/1.12, allocations: 0.7114 MB / 0.8779 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0066/1.126, allocations: 2.444 MB / 0.8803 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003727/1.13, allocations: 1.432 MB / 0.8817 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005255/1.135, allocations: 2.985 MB / 0.8846 GB, free: 1.727 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.137, allocations: 0.7308 MB / 0.8853 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/1.141, allocations: 1.591 MB / 0.8869 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/1.143, allocations: 0.8385 MB / 0.8877 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002922/1.143, allocations: 99.5 kB / 0.8878 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005185/1.149, allocations: 2.136 MB / 0.8899 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007685/1.149, allocations: 377.8 kB / 0.8902 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/1.151, allocations: 0.5863 MB / 0.8908 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005946/1.156, allocations: 2.4 MB / 0.8931 GB, free: 1.504 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.156, allocations: 1.438 kB / 0.8931 GB, free: 1.504 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.964e-06/1.156, allocations: 1.094 kB / 0.8931 GB, free: 1.504 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.26e-05/1.157, allocations: 0.8438 kB / 0.8931 GB, free: 1.504 MB / 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.004526/1.161, allocations: 1.669 MB / 0.8948 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.161, allocations: 10.12 kB / 0.8948 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/1.161, allocations: 113.5 kB / 0.8949 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/1.165, allocations: 0.5381 MB / 0.8954 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/1.167, allocations: 1.048 MB / 0.8964 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/1.167, allocations: 55.52 kB / 0.8965 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/1.168, allocations: 68.97 kB / 0.8966 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/1.17, allocations: 1.109 MB / 0.8976 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.17, allocations: 0.9375 kB / 0.8976 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/1.17, allocations: 30.97 kB / 0.8977 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/1.17, allocations: 35.38 kB / 0.8977 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/1.173, allocations: 1.158 MB / 0.8988 GB, free: 16.03 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.006251/1.179, allocations: 3.171 MB / 0.9019 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.181, allocations: 0.6491 MB / 0.9026 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/1.181, allocations: 392.2 kB / 0.9029 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.183, allocations: 1.026 MB / 0.9039 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009731/1.184, allocations: 0.5155 MB / 0.9044 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 2.445e-06/1.184, allocations: 0 / 0.9044 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.00304/1.187, allocations: 1.236 MB / 0.9057 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.187, allocations: 144.4 kB / 0.9058 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/1.189, allocations: 1.176 MB / 0.9069 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.189, allocations: 37.45 kB / 0.907 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/1.189, allocations: 453.2 kB / 0.9074 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/1.189, allocations: 192.9 kB / 0.9076 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/1.19, allocations: 148.7 kB / 0.9077 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.19, allocations: 331.2 kB / 0.9081 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.191, allocations: 444.8 kB / 0.9085 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.192, allocations: 0.5963 MB / 0.9091 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/1.194, allocations: 0.9269 MB / 0.91 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.194, allocations: 3.375 kB / 0.91 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003004/1.197, allocations: 1.2 MB / 0.9111 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.197, allocations: 37.39 kB / 0.9112 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.197, allocations: 5.594 kB / 0.9112 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/1.197, allocations: 10.41 kB / 0.9112 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/1.198, allocations: 187.1 kB / 0.9114 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.198, allocations: 8.344 kB / 0.9114 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.2, allocations: 248 kB / 0.9116 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.2, allocations: 36.56 kB / 0.9116 GB, free: 12.21 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.0005584/1.2, allocations: 324.7 kB / 0.912 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/1.201, allocations: 124.2 kB / 0.9121 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/1.203, allocations: 0.9937 MB / 0.913 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.203, allocations: 12.22 kB / 0.9131 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.203, allocations: 0 / 0.9131 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/1.203, allocations: 4.969 kB / 0.9131 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/1.208, allocations: 3.163 MB / 0.9162 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.208, allocations: 8.438 kB / 0.9162 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/1.209, allocations: 118.9 kB / 0.9163 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/1.209, allocations: 10.67 kB / 0.9163 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/1.209, allocations: 23.33 kB / 0.9163 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/1.209, allocations: 19.95 kB / 0.9163 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.209, allocations: 11.59 kB / 0.9163 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/1.211, allocations: 1.35 MB / 0.9177 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/1.212, allocations: 345.6 kB / 0.918 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.212, allocations: 23.27 kB / 0.918 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.214, allocations: 97.61 kB / 0.9181 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.214, allocations: 59.62 kB / 0.9182 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.214, allocations: 41.77 kB / 0.9182 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001679/1.216, allocations: 0.8507 MB / 0.919 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.216, allocations: 0 / 0.919 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001469/1.217, allocations: 301.8 kB / 0.9193 GB, free: 10.19 MB / 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.003894/1.221, allocations: 2.141 MB / 0.9214 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002401/1.223, allocations: 0.9675 MB / 0.9223 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.223, allocations: 2.906 kB / 0.9224 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009224/1.224, allocations: 480.3 kB / 0.9228 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/1.228, allocations: 0.5475 MB / 0.9233 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/1.247, allocations: 9.407 MB / 0.9325 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.248, allocations: 1.072 MB / 0.9336 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001383/1.249, allocations: 284.4 kB / 0.9338 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/1.25, allocations: 358.4 kB / 0.9342 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of SimCode: time 1.563e-06/1.25, allocations: 0 / 0.9342 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07859/1.329, allocations: 31.91 MB / 0.9653 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.94, allocations: 10.95 kB / 0.9654 GB, free: 9.723 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.501928352750838] Failed to read output from testmodel.py, exit status != 0: 12.03850216884166 12.060947506 10.899773942 Calling exit ...