Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0009117/0.0009117, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009682/0.0009682, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9632/0.9632, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7705/0.7705, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.0009206/0.0009206, allocations: 66.73 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5543, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05101/0.6053, allocations: 55.8 MB / 0.8724 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.6189, allocations: 10.53 MB / 0.8827 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.6217, allocations: 94.75 kB / 0.8828 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.6244, allocations: 0.9203 MB / 0.8837 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.6307, allocations: 2.084 MB / 0.8857 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005731/0.6364, allocations: 2.119 MB / 0.8878 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006869/0.6433, allocations: 3.845 MB / 0.8915 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.6454, allocations: 0.9968 MB / 0.8925 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.6504, allocations: 1.987 MB / 0.8944 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.6536, allocations: 1.267 MB / 0.8957 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.6539, allocations: 115.9 kB / 0.8958 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.658, allocations: 1.376 MB / 0.8971 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.6585, allocations: 398.2 kB / 0.8975 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.6601, allocations: 0.8547 MB / 0.8983 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005036/0.6651, allocations: 2.481 MB / 0.9008 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6651, allocations: 11.88 kB / 0.9008 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6651, allocations: 0 / 0.9008 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.974e-05/0.6652, allocations: 0 / 0.9008 GB, free: 0.8867 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00339/0.6686, allocations: 2.122 MB / 0.9029 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.6686, allocations: 15.97 kB / 0.9029 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.6688, allocations: 164.8 kB / 0.903 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.6706, allocations: 0.6582 MB / 0.9037 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.6722, allocations: 1.105 MB / 0.9047 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.6722, allocations: 90.08 kB / 0.9048 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6723, allocations: 116 kB / 0.9049 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.6748, allocations: 1.488 MB / 0.9064 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.6748, allocations: 7.938 kB / 0.9064 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.6749, allocations: 47.98 kB / 0.9065 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.6749, allocations: 28 kB / 0.9065 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.6768, allocations: 1.225 MB / 0.9077 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006711/0.6835, allocations: 8.331 MB / 0.9158 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.6854, allocations: 1.059 MB / 0.9168 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.6862, allocations: 0.521 MB / 0.9174 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.6868, allocations: 293 kB / 0.9176 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.6878, allocations: 0.6683 MB / 0.9183 GB, free: 14.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.338e-06/0.6878, allocations: 0 / 0.9183 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.00329/0.6911, allocations: 1.803 MB / 0.92 GB, free: 12.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.6912, allocations: 60.41 kB / 0.9201 GB, free: 12.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6926, allocations: 1.526 MB / 0.9216 GB, free: 10.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.6927, allocations: 49.7 kB / 0.9216 GB, free: 10.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/0.6932, allocations: 0.8001 MB / 0.9224 GB, free: 9.777 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.6934, allocations: 309.4 kB / 0.9227 GB, free: 9.473 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6936, allocations: 230.8 kB / 0.9229 GB, free: 9.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6937, allocations: 345.9 kB / 0.9233 GB, free: 8.898 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/0.6946, allocations: 0.5217 MB / 0.9238 GB, free: 8.375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6956, allocations: 0.8954 MB / 0.9247 GB, free: 7.316 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.6978, allocations: 1.422 MB / 0.926 GB, free: 5.738 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.6978, allocations: 4 kB / 0.926 GB, free: 5.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002494/0.7003, allocations: 1.609 MB / 0.9276 GB, free: 4.117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.7003, allocations: 8.188 kB / 0.9276 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.7004, allocations: 16 kB / 0.9276 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.7004, allocations: 16 kB / 0.9277 GB, free: 4.078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.7011, allocations: 347.4 kB / 0.928 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.7011, allocations: 27.92 kB / 0.928 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.702, allocations: 226.8 kB / 0.9282 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/0.702, allocations: 75.89 kB / 0.9283 GB, free: 3.414 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * 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.0005453/0.7026, allocations: 335.5 kB / 0.9286 GB, free: 3.078 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.7028, allocations: 178.9 kB / 0.9288 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.7058, allocations: 2.174 MB / 0.9309 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/0.7058, allocations: 19.98 kB / 0.9309 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7059, allocations: 0 / 0.9309 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.7059, allocations: 7.922 kB / 0.9309 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.7105, allocations: 3.352 MB / 0.9342 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.7105, allocations: 4 kB / 0.9342 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.7111, allocations: 227.9 kB / 0.9344 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.7111, allocations: 8 kB / 0.9344 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.7111, allocations: 39.95 kB / 0.9345 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.7112, allocations: 11.94 kB / 0.9345 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7112, allocations: 0 / 0.9345 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.7149, allocations: 2.784 MB / 0.9372 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.7155, allocations: 318.3 kB / 0.9375 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.7156, allocations: 28 kB / 0.9375 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.7162, allocations: 119.9 kB / 0.9377 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7163, allocations: 80.84 kB / 0.9377 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.7164, allocations: 55.97 kB / 0.9378 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001091/0.7174, allocations: 1.023 MB / 0.9388 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7174, allocations: 0 / 0.9388 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00131/0.7188, allocations: 0.5496 MB / 0.9393 GB, free: 8.047 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.005289/0.724, allocations: 4.059 MB / 0.9433 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.7263, allocations: 1.43 MB / 0.9447 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7263, allocations: 4 kB / 0.9447 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.7274, allocations: 0.7559 MB / 0.9454 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.7296, allocations: 0.7436 MB / 0.9461 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.7453, allocations: 12.7 MB / 0.9586 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.746, allocations: 1.313 MB / 0.9598 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001212/0.7472, allocations: 376.9 kB / 0.9602 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.748, allocations: 0.7257 MB / 0.9609 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of SimCode: time 1.944e-06/0.748, allocations: 0 / 0.9609 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/0.8308, allocations: 49.05 MB / 1.009 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.916/9.747, allocations: 14.84 kB / 1.009 GB, free: 0.8281 MB / 0.7761 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.896266530966386] Failed to read output from testmodel.py, exit status != 0: 9.861612478038296 9.870006604 9.202869304 Calling exit ...