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.001841/0.001841, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002285/0.002285, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.801 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.8686/0.8686, allocations: 134 MB / 446.4 MB, free: 9.953 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.002109/0.002109, allocations: 67.05 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1667, allocations: 85.91 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.584/0.7507, allocations: 171.9 MB / 0.8702 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.7644, allocations: 6.546 MB / 0.8766 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.7662, allocations: 67.38 kB / 0.8767 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.7684, allocations: 0.687 MB / 0.8774 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.7754, allocations: 2.419 MB / 0.8797 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.7793, allocations: 1.451 MB / 0.8811 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004934/0.7843, allocations: 3.022 MB / 0.8841 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.7859, allocations: 0.7085 MB / 0.8848 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.7893, allocations: 1.184 MB / 0.8859 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.7912, allocations: 0.808 MB / 0.8867 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.7916, allocations: 100 kB / 0.8868 GB, free: 7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.7956, allocations: 1.695 MB / 0.8885 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.7963, allocations: 370.8 kB / 0.8888 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.7974, allocations: 485.6 kB / 0.8893 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005129/0.8025, allocations: 2.37 MB / 0.8916 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8026, allocations: 4 kB / 0.8916 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8026, allocations: 3.938 kB / 0.8916 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.852e-05/0.8026, allocations: 0 / 0.8916 GB, free: 2.078 MB / 0.6544 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.004916/0.8075, allocations: 1.594 MB / 0.8932 GB, free: 448 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8076, allocations: 15.97 kB / 0.8932 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002597/0.8078, allocations: 118.5 kB / 0.8933 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.811, allocations: 0.5338 MB / 0.8938 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.8141, allocations: 0.9679 MB / 0.8948 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.8142, allocations: 53.31 kB / 0.8948 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.8144, allocations: 68 kB / 0.8949 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.8174, allocations: 1.242 MB / 0.8961 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.8174, allocations: 3.984 kB / 0.8961 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.8175, allocations: 28 kB / 0.8961 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.8176, allocations: 37.3 kB / 0.8962 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.821, allocations: 1.189 MB / 0.8973 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006686/0.8277, allocations: 2.888 MB / 0.9001 GB, free: 9.125 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.8296, allocations: 0.6779 MB / 0.9008 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/0.8305, allocations: 423.8 kB / 0.9012 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.831, allocations: 128.4 kB / 0.9013 GB, free: 7.887 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.8322, allocations: 0.6433 MB / 0.902 GB, free: 7.184 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 3.516e-06/0.8323, allocations: 0 / 0.902 GB, free: 7.184 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003407/0.8357, allocations: 1.303 MB / 0.9032 GB, free: 5.855 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.8358, allocations: 136.9 kB / 0.9034 GB, free: 5.691 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.8381, allocations: 1.18 MB / 0.9045 GB, free: 4.496 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.8382, allocations: 41.7 kB / 0.9046 GB, free: 4.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.8387, allocations: 445.8 kB / 0.905 GB, free: 4.012 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.8389, allocations: 202.2 kB / 0.9052 GB, free: 3.812 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.8393, allocations: 142.2 kB / 0.9053 GB, free: 3.668 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8394, allocations: 330 kB / 0.9056 GB, free: 3.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.8408, allocations: 474.7 kB / 0.9061 GB, free: 2.871 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.8425, allocations: 0.979 MB / 0.907 GB, free: 1.754 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/0.8447, allocations: 0.9296 MB / 0.9079 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8447, allocations: 4 kB / 0.9079 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003541/0.8483, allocations: 1.245 MB / 0.9092 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.8483, allocations: 43.66 kB / 0.9092 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.8483, allocations: 4 kB / 0.9092 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.8484, allocations: 7.938 kB / 0.9092 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009743/0.8493, allocations: 191.8 kB / 0.9094 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.8493, allocations: 7.938 kB / 0.9094 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.851, allocations: 247.1 kB / 0.9096 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.8511, allocations: 35.98 kB / 0.9097 GB, free: 14.96 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.0006208/0.8517, allocations: 335.3 kB / 0.91 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.852, allocations: 123.2 kB / 0.9101 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.8544, allocations: 1.024 MB / 0.9111 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.8544, allocations: 15.92 kB / 0.9111 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.8544, allocations: 0 / 0.9111 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8544, allocations: 0 / 0.9111 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/0.86, allocations: 3.001 MB / 0.9141 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.8601, allocations: 8 kB / 0.9141 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.8607, allocations: 120 kB / 0.9142 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.8607, allocations: 15.94 kB / 0.9142 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.8607, allocations: 27.98 kB / 0.9142 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.8607, allocations: 8 kB / 0.9142 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-05/0.8608, allocations: 11.94 kB / 0.9142 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.8633, allocations: 1.387 MB / 0.9156 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007999/0.8641, allocations: 262.8 kB / 0.9158 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.8644, allocations: 23.98 kB / 0.9159 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.8656, allocations: 99.91 kB / 0.916 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8657, allocations: 67.67 kB / 0.916 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/0.8658, allocations: 39.97 kB / 0.9161 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001704/0.8675, allocations: 0.8443 MB / 0.9169 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8675, allocations: 0 / 0.9169 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001136/0.8686, allocations: 299.6 kB / 0.9172 GB, free: 6.973 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.003348/0.872, allocations: 2.169 MB / 0.9193 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.8745, allocations: 1.032 MB / 0.9203 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.8745, allocations: 0 / 0.9203 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009911/0.8755, allocations: 0.5102 MB / 0.9208 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.8783, allocations: 0.5454 MB / 0.9213 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.8962, allocations: 9.6 MB / 0.9307 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.8968, allocations: 478.6 kB / 0.9312 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0011/0.8979, allocations: 280 kB / 0.9314 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/0.8985, allocations: 367.3 kB / 0.9318 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of SimCode: time 1.402e-06/0.8985, allocations: 0 / 0.9318 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07589/0.9744, allocations: 34.51 MB / 0.9655 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.85, allocations: 4.531 kB / 0.9655 GB, free: 5.398 MB / 0.7325 GB " [Timeout remaining time 647] (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: 16.540308943018317] Failed to read output from testmodel.py, exit status != 0: 12.97076218901202 12.988070518 12.182046501 Calling exit ...