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.001641/0.001641, allocations: 109.8 kB / 16.46 MB, free: 6.508 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.001915/0.001915, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.8392/0.8392, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.001858/0.001858, allocations: 65.59 kB / 0.6134 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.163, allocations: 85.86 MB / 0.6973 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5811/0.7441, allocations: 197.7 MB / 0.8903 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.7565, allocations: 6.953 MB / 0.8971 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.7587, allocations: 63.44 kB / 0.8972 GB, free: 11.78 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.7611, allocations: 0.7103 MB / 0.8979 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006929/0.768, allocations: 2.435 MB / 0.9002 GB, free: 8.621 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.7719, allocations: 1.423 MB / 0.9016 GB, free: 7.223 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004852/0.7767, allocations: 2.982 MB / 0.9045 GB, free: 4.234 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.7784, allocations: 0.7589 MB / 0.9053 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.7818, allocations: 1.179 MB / 0.9064 GB, free: 2.301 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.7838, allocations: 0.838 MB / 0.9073 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.7842, allocations: 103.9 kB / 0.9074 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/0.789, allocations: 2.163 MB / 0.9095 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007478/0.7897, allocations: 382.6 kB / 0.9098 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.791, allocations: 0.5831 MB / 0.9104 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.7962, allocations: 2.439 MB / 0.9128 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7962, allocations: 0 / 0.9128 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7962, allocations: 0 / 0.9128 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.815e-05/0.7962, allocations: 0 / 0.9128 GB, free: 11.79 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.004982/0.8012, allocations: 1.677 MB / 0.9144 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.8013, allocations: 13.11 kB / 0.9144 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003118/0.8016, allocations: 110.5 kB / 0.9145 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.8049, allocations: 0.5416 MB / 0.9151 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.8077, allocations: 1.042 MB / 0.9161 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/0.8078, allocations: 57.31 kB / 0.9161 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.8081, allocations: 67.98 kB / 0.9162 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.811, allocations: 1.109 MB / 0.9173 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.811, allocations: 0 / 0.9173 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.8111, allocations: 31.94 kB / 0.9173 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/0.8112, allocations: 33.3 kB / 0.9174 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/0.8147, allocations: 1.164 MB / 0.9185 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007168/0.8219, allocations: 3.176 MB / 0.9216 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.8238, allocations: 0.6472 MB / 0.9222 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/0.8247, allocations: 394.2 kB / 0.9226 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.8258, allocations: 1.021 MB / 0.9236 GB, free: 272 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.827, allocations: 0.5222 MB / 0.9241 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.254e-06/0.827, allocations: 0 / 0.9241 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003521/0.8305, allocations: 1.233 MB / 0.9253 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8307, allocations: 136.9 kB / 0.9254 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.8331, allocations: 1.176 MB / 0.9266 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.8334, allocations: 37.7 kB / 0.9266 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/0.8339, allocations: 441.8 kB / 0.927 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.8342, allocations: 198.2 kB / 0.9272 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/0.8346, allocations: 150.1 kB / 0.9274 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8348, allocations: 326 kB / 0.9277 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.8362, allocations: 444.8 kB / 0.9281 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.8379, allocations: 0.5977 MB / 0.9287 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.8403, allocations: 0.9261 MB / 0.9296 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8403, allocations: 0 / 0.9296 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004207/0.8445, allocations: 1.206 MB / 0.9308 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/0.8446, allocations: 45.69 kB / 0.9308 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.8446, allocations: 0 / 0.9308 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.8447, allocations: 11.94 kB / 0.9308 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.8457, allocations: 192 kB / 0.931 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.8457, allocations: 4 kB / 0.931 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8474, allocations: 250.7 kB / 0.9313 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.8476, allocations: 39.97 kB / 0.9313 GB, free: 8.145 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.0006898/0.8483, allocations: 323.3 kB / 0.9316 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.8486, allocations: 123.2 kB / 0.9317 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.8512, allocations: 0.9938 MB / 0.9327 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.8513, allocations: 8 kB / 0.9327 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.8513, allocations: 0 / 0.9327 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8513, allocations: 3.984 kB / 0.9327 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/0.8574, allocations: 3.166 MB / 0.9358 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.8574, allocations: 11.98 kB / 0.9358 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.8581, allocations: 116 kB / 0.9359 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/0.8581, allocations: 16 kB / 0.9359 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.8582, allocations: 23.98 kB / 0.936 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.8582, allocations: 15.94 kB / 0.936 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/0.8582, allocations: 15.92 kB / 0.936 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.8609, allocations: 1.346 MB / 0.9373 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/0.8616, allocations: 339.9 kB / 0.9376 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.8619, allocations: 24 kB / 0.9377 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8632, allocations: 103.9 kB / 0.9378 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.8633, allocations: 55.77 kB / 0.9378 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.8634, allocations: 51.97 kB / 0.9379 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001825/0.8652, allocations: 0.8443 MB / 0.9387 GB, free: 272 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8652, allocations: 0 / 0.9387 GB, free: 272 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001314/0.8665, allocations: 299.7 kB / 0.939 GB, free: 15.97 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.003631/0.8702, allocations: 2.114 MB / 0.941 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.873, allocations: 0.981 MB / 0.942 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.873, allocations: 0 / 0.942 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.8741, allocations: 480.9 kB / 0.9424 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.8775, allocations: 0.5458 MB / 0.943 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/0.8991, allocations: 9.411 MB / 0.9522 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/0.9001, allocations: 1.069 MB / 0.9532 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001381/0.9015, allocations: 280.4 kB / 0.9535 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/0.9022, allocations: 359.3 kB / 0.9538 GB, free: 216 kB / 0.7169 GB Notification: Performance of SimCode: time 1.743e-06/0.9022, allocations: 0 / 0.9538 GB, free: 216 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08022/0.9824, allocations: 31.85 MB / 0.9849 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.39, allocations: 3.938 kB / 0.9849 GB, free: 0.6719 MB / 0.7481 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 15.126352795996354] Failed to read output from testmodel.py, exit status != 0: 11.499838875999558 11.527716457 10.725855979 Calling exit ...