Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001798/0.001798, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002298/0.002298, allocations: 218.4 kB / 22.26 MB, free: 5.121 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8301/0.8301, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001936/0.001936, allocations: 69.95 kB / 0.6186 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 85.9 MB / 0.7025 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5909/0.7504, allocations: 198.1 MB / 0.8959 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.7619, allocations: 6.96 MB / 0.9027 GB, free: 9.605 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.7634, allocations: 63.44 kB / 0.9028 GB, free: 9.543 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.7655, allocations: 0.7142 MB / 0.9035 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.772, allocations: 2.474 MB / 0.9059 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.7757, allocations: 1.485 MB / 0.9073 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004735/0.7804, allocations: 3.044 MB / 0.9103 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.7819, allocations: 0.7242 MB / 0.911 GB, free: 1.094 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.7851, allocations: 1.183 MB / 0.9122 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.7871, allocations: 0.8533 MB / 0.913 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003458/0.7874, allocations: 100 kB / 0.9131 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.7918, allocations: 2.194 MB / 0.9152 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/0.7923, allocations: 386.6 kB / 0.9156 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009838/0.7933, allocations: 0.5792 MB / 0.9162 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.7975, allocations: 2.444 MB / 0.9186 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7975, allocations: 0 / 0.9186 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7975, allocations: 0 / 0.9186 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.099e-05/0.7976, allocations: 4 kB / 0.9186 GB, free: 9.363 MB / 0.6856 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.004062/0.8016, allocations: 1.599 MB / 0.9201 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8017, allocations: 12.03 kB / 0.9201 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.8019, allocations: 110.5 kB / 0.9202 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.8048, allocations: 0.5455 MB / 0.9208 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.8072, allocations: 0.9586 MB / 0.9217 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.8073, allocations: 53.31 kB / 0.9218 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.8074, allocations: 68 kB / 0.9218 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.8099, allocations: 1.116 MB / 0.9229 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.8099, allocations: 3.938 kB / 0.9229 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.81, allocations: 28 kB / 0.9229 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/0.81, allocations: 25.31 kB / 0.923 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.8131, allocations: 1.164 MB / 0.9241 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.8192, allocations: 3.126 MB / 0.9272 GB, free: 388 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.8209, allocations: 0.6567 MB / 0.9278 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/0.8218, allocations: 390.6 kB / 0.9282 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/0.8223, allocations: 128.3 kB / 0.9283 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.8233, allocations: 0.5178 MB / 0.9288 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.134e-06/0.8233, allocations: 0 / 0.9288 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003073/0.8264, allocations: 1.225 MB / 0.93 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.8265, allocations: 148.9 kB / 0.9301 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.8285, allocations: 1.184 MB / 0.9313 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.8286, allocations: 37.7 kB / 0.9313 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.829, allocations: 437.8 kB / 0.9317 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.8292, allocations: 198.3 kB / 0.9319 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.8295, allocations: 154.2 kB / 0.9321 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8296, allocations: 329.9 kB / 0.9324 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.8308, allocations: 441 kB / 0.9328 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.8322, allocations: 0.5941 MB / 0.9334 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.8343, allocations: 0.9332 MB / 0.9343 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.8343, allocations: 0 / 0.9343 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003076/0.8374, allocations: 1.197 MB / 0.9355 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.8374, allocations: 45.75 kB / 0.9355 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8374, allocations: 4 kB / 0.9355 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.8375, allocations: 11.94 kB / 0.9355 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.8384, allocations: 187.7 kB / 0.9357 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.8384, allocations: 11.98 kB / 0.9357 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.8399, allocations: 243.1 kB / 0.936 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.84, allocations: 31.98 kB / 0.936 GB, free: 7.09 MB / 0.7012 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.0005448/0.8405, allocations: 331.3 kB / 0.9363 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.8408, allocations: 119.7 kB / 0.9364 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.8429, allocations: 1.002 MB / 0.9374 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.843, allocations: 8 kB / 0.9374 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.843, allocations: 48 / 0.9374 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.843, allocations: 7.969 kB / 0.9374 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.8484, allocations: 3.139 MB / 0.9405 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.8484, allocations: 8.094 kB / 0.9405 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.849, allocations: 123.8 kB / 0.9406 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.849, allocations: 8 kB / 0.9406 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.8491, allocations: 27.98 kB / 0.9406 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/0.8491, allocations: 15.92 kB / 0.9407 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.8491, allocations: 11.94 kB / 0.9407 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.8514, allocations: 1.347 MB / 0.942 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.852, allocations: 258.9 kB / 0.9422 GB, free: 424 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.8522, allocations: 24 kB / 0.9423 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8533, allocations: 103.9 kB / 0.9424 GB, free: 296 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.8535, allocations: 59.75 kB / 0.9424 GB, free: 236 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.8535, allocations: 43.91 kB / 0.9425 GB, free: 192 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001572/0.8551, allocations: 0.8521 MB / 0.9433 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8551, allocations: 0 / 0.9433 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001037/0.8561, allocations: 299.6 kB / 0.9436 GB, free: 15.04 MB / 0.7169 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.003129/0.8593, allocations: 2.129 MB / 0.9456 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.8616, allocations: 0.9812 MB / 0.9466 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8616, allocations: 4 kB / 0.9466 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009251/0.8626, allocations: 480.8 kB / 0.9471 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.8652, allocations: 0.5399 MB / 0.9476 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.8821, allocations: 9.435 MB / 0.9568 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.8829, allocations: 1.069 MB / 0.9579 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009869/0.8839, allocations: 266.8 kB / 0.9581 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.8845, allocations: 359.2 kB / 0.9585 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.8845, allocations: 4 kB / 0.9585 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07433/0.9588, allocations: 32.41 MB / 0.9901 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.03, allocations: 0 / 0.9901 GB, free: 15.16 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.64025375782512] Failed to read output from testmodel.py, exit status != 0: 14.154872070997953 14.185210269 13.381756457 Calling exit ...