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.0008176/0.0008176, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009104/0.0009104, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9936/0.9936, allocations: 230.6 MB / 256 MB, free: 9.41 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.8018/0.8018, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.001567/0.001567, allocations: 68.48 kB / 0.7182 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5765, allocations: 102 MB / 0.8178 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04449/0.621, allocations: 50.42 MB / 0.8671 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.6338, allocations: 9.777 MB / 0.8766 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.6362, allocations: 94.84 kB / 0.8767 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.6386, allocations: 0.8955 MB / 0.8776 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006482/0.6451, allocations: 2.09 MB / 0.8796 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005068/0.6502, allocations: 2.06 MB / 0.8816 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005871/0.6561, allocations: 3.814 MB / 0.8854 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.658, allocations: 0.988 MB / 0.8863 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.6629, allocations: 1.99 MB / 0.8883 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.6653, allocations: 1.193 MB / 0.8894 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.6656, allocations: 112 kB / 0.8896 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.6682, allocations: 1.033 MB / 0.8906 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.6685, allocations: 414.2 kB / 0.891 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.6693, allocations: 0.7034 MB / 0.8916 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.6728, allocations: 2.43 MB / 0.894 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6728, allocations: 0 / 0.894 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6728, allocations: 0 / 0.894 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.6729, allocations: 0 / 0.894 GB, free: 7.363 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.00256/0.6754, allocations: 2.141 MB / 0.8961 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.6755, allocations: 12.03 kB / 0.8961 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.6756, allocations: 160.8 kB / 0.8963 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.6774, allocations: 0.6582 MB / 0.8969 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.679, allocations: 1.076 MB / 0.898 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.679, allocations: 86.08 kB / 0.898 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6791, allocations: 115.9 kB / 0.8982 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.681, allocations: 1.496 MB / 0.8996 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.681, allocations: 3.938 kB / 0.8996 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.6811, allocations: 52 kB / 0.8997 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.6811, allocations: 31.94 kB / 0.8997 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.683, allocations: 1.237 MB / 0.9009 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005935/0.689, allocations: 6.595 MB / 0.9073 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.6909, allocations: 1.063 MB / 0.9084 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008139/0.6917, allocations: 0.5333 MB / 0.9089 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.6923, allocations: 285 kB / 0.9092 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.6933, allocations: 0.6839 MB / 0.9098 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 3.327e-06/0.6933, allocations: 0 / 0.9098 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.003196/0.6965, allocations: 1.823 MB / 0.9116 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6965, allocations: 60.41 kB / 0.9117 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.698, allocations: 1.572 MB / 0.9132 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/0.6981, allocations: 41.7 kB / 0.9133 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.6985, allocations: 0.8079 MB / 0.9141 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.6987, allocations: 305.4 kB / 0.9143 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.6989, allocations: 226.8 kB / 0.9146 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.699, allocations: 345.9 kB / 0.9149 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/0.6998, allocations: 0.5217 MB / 0.9154 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.7009, allocations: 1.145 MB / 0.9165 GB, free: 15.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.7028, allocations: 1.422 MB / 0.9179 GB, free: 13.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7028, allocations: 0 / 0.9179 GB, free: 13.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002491/0.7053, allocations: 1.637 MB / 0.9195 GB, free: 12.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7053, allocations: 8 kB / 0.9195 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7053, allocations: 12 kB / 0.9195 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.7053, allocations: 20 kB / 0.9195 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.706, allocations: 347.5 kB / 0.9199 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.706, allocations: 19.94 kB / 0.9199 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.7069, allocations: 234.8 kB / 0.9201 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.707, allocations: 67.97 kB / 0.9202 GB, free: 11.61 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.0005281/0.7075, allocations: 343.3 kB / 0.9205 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.7077, allocations: 186.8 kB / 0.9207 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.7105, allocations: 2.178 MB / 0.9228 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.7105, allocations: 23.97 kB / 0.9228 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.7105, allocations: 0 / 0.9228 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.7105, allocations: 7.922 kB / 0.9228 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.7147, allocations: 3.251 MB / 0.926 GB, free: 5.586 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.7147, allocations: 8.031 kB / 0.926 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.7152, allocations: 235.6 kB / 0.9262 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.7152, allocations: 8 kB / 0.9263 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/0.7153, allocations: 35.97 kB / 0.9263 GB, free: 5.305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.7153, allocations: 15.92 kB / 0.9263 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7153, allocations: 0 / 0.9263 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.7188, allocations: 2.826 MB / 0.9291 GB, free: 2.426 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.7193, allocations: 326.3 kB / 0.9294 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.7195, allocations: 23.98 kB / 0.9294 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.72, allocations: 119.9 kB / 0.9295 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.7201, allocations: 80.86 kB / 0.9296 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.7202, allocations: 51.95 kB / 0.9296 GB, free: 1.836 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001049/0.7212, allocations: 1.042 MB / 0.9307 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7212, allocations: 4 kB / 0.9307 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001387/0.7226, allocations: 0.5613 MB / 0.9312 GB, free: 240 kB / 0.698 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 (116): * Single equations (assignments): 85 * 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.005271/0.7279, allocations: 4.13 MB / 0.9352 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.7302, allocations: 1.457 MB / 0.9367 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7302, allocations: 0 / 0.9367 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.7313, allocations: 0.7832 MB / 0.9374 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.7334, allocations: 0.7317 MB / 0.9381 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.7484, allocations: 12.75 MB / 0.9506 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.7489, allocations: 0.7375 MB / 0.9513 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001014/0.7499, allocations: 372.8 kB / 0.9517 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.7505, allocations: 0.7178 MB / 0.9524 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of SimCode: time 1.643e-06/0.7505, allocations: 3.938 kB / 0.9524 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07218/0.8227, allocations: 51.88 MB / 1.003 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.56, allocations: 8 kB / 1.003 GB, free: 6.883 MB / 0.7761 GB " [Timeout remaining time 651] (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: 11.783898699097335] Failed to read output from testmodel.py, exit status != 0: 8.682096114847809 8.693300189 8.018474957 Calling exit ...