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.0009033/0.0009033, allocations: 101.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.0008108/0.0008108, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9629/0.9629, allocations: 230.6 MB / 256 MB, free: 9.582 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.803/0.803, 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.001091/0.001091, allocations: 71.02 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6015, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04186/0.6434, allocations: 50.44 MB / 0.8671 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.657, allocations: 9.761 MB / 0.8766 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.6601, allocations: 95.22 kB / 0.8767 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.6627, allocations: 0.9071 MB / 0.8776 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.6683, allocations: 2.071 MB / 0.8796 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.6734, allocations: 2.061 MB / 0.8816 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005702/0.6791, allocations: 3.819 MB / 0.8854 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.6809, allocations: 0.9839 MB / 0.8863 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.6855, allocations: 1.994 MB / 0.8883 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.6879, allocations: 1.195 MB / 0.8894 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.6882, allocations: 111.9 kB / 0.8895 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.6907, allocations: 1.037 MB / 0.8906 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.6913, allocations: 418.2 kB / 0.891 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009186/0.6922, allocations: 0.6956 MB / 0.8916 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.6967, allocations: 2.434 MB / 0.894 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6967, allocations: 0 / 0.894 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6967, allocations: 0 / 0.894 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.354e-05/0.6967, allocations: 4 kB / 0.894 GB, free: 7.465 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.003053/0.6998, allocations: 2.133 MB / 0.8961 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.6998, allocations: 8.031 kB / 0.8961 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.7, allocations: 168.8 kB / 0.8963 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.7018, allocations: 0.6504 MB / 0.8969 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.7037, allocations: 1.084 MB / 0.898 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.7037, allocations: 86.08 kB / 0.898 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.7038, allocations: 112 kB / 0.8982 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.7059, allocations: 1.5 MB / 0.8996 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.7059, allocations: 11.92 kB / 0.8996 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.706, allocations: 48 kB / 0.8997 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.706, allocations: 28 kB / 0.8997 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.7081, allocations: 1.245 MB / 0.9009 GB, free: 136 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.7145, allocations: 6.584 MB / 0.9073 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.7165, allocations: 1.071 MB / 0.9084 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.7173, allocations: 0.5336 MB / 0.9089 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.718, allocations: 285 kB / 0.9092 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.719, allocations: 0.6802 MB / 0.9099 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 4.349e-06/0.719, allocations: 3.938 kB / 0.9099 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.003154/0.7222, allocations: 1.819 MB / 0.9116 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.7222, allocations: 64.41 kB / 0.9117 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.7239, allocations: 1.565 MB / 0.9132 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.724, allocations: 45.7 kB / 0.9133 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.7244, allocations: 0.804 MB / 0.914 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.7247, allocations: 309.4 kB / 0.9143 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.7249, allocations: 226.8 kB / 0.9146 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7251, allocations: 345.9 kB / 0.9149 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009175/0.726, allocations: 0.5256 MB / 0.9154 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.7273, allocations: 1.137 MB / 0.9165 GB, free: 15.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.7294, allocations: 1.426 MB / 0.9179 GB, free: 14.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.7294, allocations: 4 kB / 0.9179 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003129/0.7325, allocations: 1.624 MB / 0.9195 GB, free: 12.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.7325, allocations: 8 kB / 0.9195 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.7326, allocations: 12 kB / 0.9195 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/0.7326, allocations: 20.09 kB / 0.9195 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.7334, allocations: 356 kB / 0.9199 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.222e-05/0.7334, allocations: 27.92 kB / 0.9199 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.7345, allocations: 230.8 kB / 0.9201 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7346, allocations: 63.97 kB / 0.9202 GB, free: 11.71 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.0006992/0.7353, allocations: 347.3 kB / 0.9205 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.7356, allocations: 178.9 kB / 0.9207 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.7388, allocations: 2.174 MB / 0.9228 GB, free: 9.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/0.7388, allocations: 19.98 kB / 0.9228 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7388, allocations: 7.938 kB / 0.9228 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.7388, allocations: 11.91 kB / 0.9228 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.7432, allocations: 3.255 MB / 0.926 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.7432, allocations: 3.938 kB / 0.926 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.7438, allocations: 235.8 kB / 0.9263 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.7438, allocations: 8 kB / 0.9263 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.7439, allocations: 43.95 kB / 0.9263 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.7439, allocations: 4 kB / 0.9263 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7439, allocations: 4 kB / 0.9263 GB, free: 5.391 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.7477, allocations: 2.826 MB / 0.9291 GB, free: 2.527 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/0.7483, allocations: 322.3 kB / 0.9294 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.7485, allocations: 24 kB / 0.9294 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.7491, allocations: 119.9 kB / 0.9295 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7492, allocations: 84.84 kB / 0.9296 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/0.7492, allocations: 43.97 kB / 0.9296 GB, free: 1.945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001111/0.7504, allocations: 1.05 MB / 0.9307 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7504, allocations: 0 / 0.9307 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001269/0.7516, allocations: 0.5574 MB / 0.9312 GB, free: 352 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.005632/0.7573, allocations: 4.134 MB / 0.9352 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.7597, allocations: 1.442 MB / 0.9367 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7597, allocations: 4.188 kB / 0.9367 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.7609, allocations: 0.7869 MB / 0.9374 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.763, allocations: 0.7471 MB / 0.9382 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.7799, allocations: 12.75 MB / 0.9506 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.7805, allocations: 0.7313 MB / 0.9513 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001129/0.7816, allocations: 372.9 kB / 0.9517 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006987/0.7823, allocations: 0.7178 MB / 0.9524 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of SimCode: time 1.814e-06/0.7823, allocations: 0 / 0.9524 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/0.859, allocations: 51.88 MB / 1.003 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.904, allocations: 4 kB / 1.003 GB, free: 6.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 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.018283531069756] Failed to read output from testmodel.py, exit status != 0: 9.023949834983796 9.033776956 8.335028619 Calling exit ...