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.0008384/0.0008384, 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.0008561/0.0008561, allocations: 219.6 kB / 22.26 MB, free: 3.691 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.9407/0.9407, allocations: 230.6 MB / 256 MB, free: 9.824 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.8101/0.8101, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.001029/0.001029, allocations: 66.11 kB / 0.7183 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5514, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05111/0.6025, allocations: 55.8 MB / 0.8724 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.6172, allocations: 10.53 MB / 0.8827 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.6196, allocations: 103.1 kB / 0.8828 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.6223, allocations: 0.9112 MB / 0.8837 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.628, allocations: 2.088 MB / 0.8857 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005324/0.6333, allocations: 2.126 MB / 0.8878 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005704/0.639, allocations: 3.837 MB / 0.8915 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.6411, allocations: 1.006 MB / 0.8925 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.6458, allocations: 1.991 MB / 0.8944 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.6488, allocations: 1.27 MB / 0.8957 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.6494, allocations: 107.5 kB / 0.8958 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.6532, allocations: 1.376 MB / 0.8971 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008029/0.654, allocations: 398.3 kB / 0.8975 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.6562, allocations: 0.8508 MB / 0.8983 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006304/0.6625, allocations: 2.489 MB / 0.9008 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.6625, allocations: 0 / 0.9008 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6625, allocations: 0 / 0.9008 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.815e-05/0.6626, allocations: 0 / 0.9008 GB, free: 0.9414 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.004007/0.6666, allocations: 2.134 MB / 0.9029 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.6666, allocations: 8.031 kB / 0.9029 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.6668, allocations: 164.8 kB / 0.903 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.6688, allocations: 0.6582 MB / 0.9037 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.6713, allocations: 1.097 MB / 0.9047 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.6713, allocations: 94.06 kB / 0.9048 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.6715, allocations: 112 kB / 0.9049 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.6738, allocations: 1.496 MB / 0.9064 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6738, allocations: 3.938 kB / 0.9064 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.6739, allocations: 44 kB / 0.9064 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6739, allocations: 28 kB / 0.9065 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.6762, allocations: 1.221 MB / 0.9077 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/0.6855, allocations: 8.335 MB / 0.9158 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.6878, allocations: 1.063 MB / 0.9168 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009952/0.6888, allocations: 0.518 MB / 0.9173 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/0.6895, allocations: 293 kB / 0.9176 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.6908, allocations: 0.6761 MB / 0.9183 GB, free: 14.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 5.851e-06/0.6908, allocations: 0 / 0.9183 GB, free: 14.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.003875/0.6947, allocations: 1.799 MB / 0.92 GB, free: 12.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.6947, allocations: 60.41 kB / 0.9201 GB, free: 12.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.6968, allocations: 1.53 MB / 0.9216 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.6969, allocations: 45.7 kB / 0.9216 GB, free: 10.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.6975, allocations: 0.804 MB / 0.9224 GB, free: 9.836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.698, allocations: 313.3 kB / 0.9227 GB, free: 9.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.6982, allocations: 222.8 kB / 0.9229 GB, free: 9.305 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6983, allocations: 345.9 kB / 0.9233 GB, free: 8.961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.6994, allocations: 0.5217 MB / 0.9238 GB, free: 8.438 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.7006, allocations: 0.9071 MB / 0.9247 GB, free: 7.367 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.7031, allocations: 1.41 MB / 0.926 GB, free: 5.805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-05/0.7031, allocations: 4 kB / 0.926 GB, free: 5.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003072/0.7062, allocations: 1.609 MB / 0.9276 GB, free: 4.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.7062, allocations: 16.06 kB / 0.9276 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.7062, allocations: 8 kB / 0.9276 GB, free: 4.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.7063, allocations: 20 kB / 0.9277 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.7071, allocations: 351.5 kB / 0.928 GB, free: 3.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.7071, allocations: 23.88 kB / 0.928 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.7082, allocations: 234.8 kB / 0.9282 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.7084, allocations: 67.97 kB / 0.9283 GB, free: 3.477 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.0006662/0.709, allocations: 331.5 kB / 0.9286 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.7095, allocations: 186.9 kB / 0.9288 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.7129, allocations: 2.16 MB / 0.9309 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/0.7129, allocations: 19.98 kB / 0.9309 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.7129, allocations: 4 kB / 0.9309 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.7129, allocations: 11.91 kB / 0.9309 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.7184, allocations: 3.344 MB / 0.9342 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7184, allocations: 4 kB / 0.9342 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.719, allocations: 235.8 kB / 0.9344 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.719, allocations: 8 kB / 0.9344 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.7191, allocations: 31.97 kB / 0.9345 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.7191, allocations: 8 kB / 0.9345 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7191, allocations: 3.938 kB / 0.9345 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.7233, allocations: 2.78 MB / 0.9372 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/0.7241, allocations: 322.3 kB / 0.9375 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.7243, allocations: 24 kB / 0.9375 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.7249, allocations: 127.8 kB / 0.9376 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.7251, allocations: 88.72 kB / 0.9377 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.7251, allocations: 51.95 kB / 0.9378 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001197/0.7263, allocations: 1.023 MB / 0.9388 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7263, allocations: 0 / 0.9388 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001913/0.7283, allocations: 0.5457 MB / 0.9393 GB, free: 8.117 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.006174/0.7344, allocations: 4.062 MB / 0.9433 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.7373, allocations: 1.434 MB / 0.9447 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.7373, allocations: 192 / 0.9447 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.7388, allocations: 0.7674 MB / 0.9454 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.7415, allocations: 0.7294 MB / 0.9461 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.7613, allocations: 12.7 MB / 0.9585 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.7621, allocations: 1.313 MB / 0.9598 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001461/0.7636, allocations: 385 kB / 0.9602 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.765, allocations: 0.7218 MB / 0.9609 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.544e-06/0.765, allocations: 4 kB / 0.9609 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/0.8539, allocations: 49.06 MB / 1.009 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.45, allocations: 7.922 kB / 1.009 GB, free: 0.8945 MB / 0.7761 GB " [Timeout remaining time 648] (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: 14.488932065898553] Failed to read output from testmodel.py, exit status != 0: 11.570237423060462 11.578994202 10.914218282 Calling exit ...