Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001389/0.001389, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.00151/0.00151, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8823/0.8823, allocations: 133.9 MB / 443.5 MB, free: 13.91 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.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",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.001993/0.001993, allocations: 72.05 kB / 0.6141 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 85.85 MB / 0.698 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03502/0.1946, allocations: 29.73 MB / 0.727 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.2057, allocations: 6.992 MB / 0.7338 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.207, allocations: 71.31 kB / 0.7339 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.2087, allocations: 0.7148 MB / 0.7346 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.2128, allocations: 1.555 MB / 0.7361 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.2156, allocations: 1.061 MB / 0.7372 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.2191, allocations: 2.508 MB / 0.7396 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2202, allocations: 0.7002 MB / 0.7403 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.2222, allocations: 1.062 MB / 0.7413 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.2235, allocations: 0.8753 MB / 0.7422 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2236, allocations: 64 kB / 0.7422 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.2255, allocations: 0.8537 MB / 0.7431 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.2258, allocations: 298.8 kB / 0.7434 GB, free: 308 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.2265, allocations: 0.5592 MB / 0.7439 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.2291, allocations: 1.661 MB / 0.7455 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2291, allocations: 0 / 0.7455 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2291, allocations: 0 / 0.7455 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.2291, allocations: 0 / 0.7455 GB, free: 14.07 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002899/0.232, allocations: 1.627 MB / 0.7471 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2321, allocations: 9.703 kB / 0.7471 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.435e-05/0.2321, allocations: 22.19 kB / 0.7471 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.2323, allocations: 118.6 kB / 0.7473 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.2358, allocations: 0.5931 MB / 0.7478 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.2374, allocations: 0.8998 MB / 0.7487 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.2374, allocations: 58 kB / 0.7488 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2376, allocations: 72 kB / 0.7488 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.2401, allocations: 1.096 MB / 0.7499 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.2401, allocations: 4 kB / 0.7499 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.2402, allocations: 35.98 kB / 0.75 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.2402, allocations: 16 kB / 0.75 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.2434, allocations: 1.004 MB / 0.7509 GB, free: 8.316 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006338/0.2498, allocations: 4.979 MB / 0.7558 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.2529, allocations: 0.8817 MB / 0.7567 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.2544, allocations: 463.1 kB / 0.7571 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.2559, allocations: 1.583 MB / 0.7587 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.2576, allocations: 0.569 MB / 0.7592 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.575e-06/0.2576, allocations: 4 kB / 0.7592 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.005047/0.2627, allocations: 1.497 MB / 0.7607 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.2627, allocations: 55.97 kB / 0.7607 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.2642, allocations: 1.149 MB / 0.7619 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.2643, allocations: 37.7 kB / 0.7619 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.2648, allocations: 0.56 MB / 0.7624 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.265, allocations: 222.2 kB / 0.7627 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.2653, allocations: 170.5 kB / 0.7628 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2655, allocations: 337.9 kB / 0.7631 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.267, allocations: 449.6 kB / 0.7636 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.2688, allocations: 0.7166 MB / 0.7643 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.2719, allocations: 1.113 MB / 0.7654 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.272, allocations: 0 / 0.7654 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003813/0.2758, allocations: 1.282 MB / 0.7666 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.2758, allocations: 9.562 kB / 0.7666 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2758, allocations: 11.94 kB / 0.7666 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.2758, allocations: 12.81 kB / 0.7666 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.2771, allocations: 271.6 kB / 0.7669 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.2771, allocations: 15.94 kB / 0.7669 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.2784, allocations: 195.1 kB / 0.7671 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.2785, allocations: 47.97 kB / 0.7671 GB, free: 6.789 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005336/0.2791, allocations: 296.4 kB / 0.7674 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.2794, allocations: 127.2 kB / 0.7675 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.2835, allocations: 1.361 MB / 0.7689 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.2835, allocations: 11.98 kB / 0.7689 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2835, allocations: 0 / 0.7689 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2835, allocations: 3.984 kB / 0.7689 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.2889, allocations: 2.382 MB / 0.7712 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.2889, allocations: 4 kB / 0.7712 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.2899, allocations: 179.9 kB / 0.7714 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.2899, allocations: 8 kB / 0.7714 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.29, allocations: 31.91 kB / 0.7714 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.29, allocations: 4 kB / 0.7714 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.29, allocations: 3.938 kB / 0.7714 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.2953, allocations: 1.978 MB / 0.7734 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.2958, allocations: 284 kB / 0.7736 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.296, allocations: 19.98 kB / 0.7737 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.2971, allocations: 107.8 kB / 0.7738 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2972, allocations: 52.44 kB / 0.7738 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.2973, allocations: 35.97 kB / 0.7738 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001152/0.2984, allocations: 0.7841 MB / 0.7746 GB, free: 15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2984, allocations: 0 / 0.7746 GB, free: 15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001214/0.2996, allocations: 355.3 kB / 0.775 GB, free: 14.66 MB / 0.5919 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.008071/0.3077, allocations: 3.073 MB / 0.778 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.3114, allocations: 1.087 MB / 0.779 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3114, allocations: 4 kB / 0.779 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.3132, allocations: 0.5384 MB / 0.7795 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.3158, allocations: 456.8 kB / 0.78 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/0.3367, allocations: 9.702 MB / 0.7895 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/0.3376, allocations: 1.116 MB / 0.7905 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009958/0.3386, allocations: 252.3 kB / 0.7908 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007311/0.3393, allocations: 467.2 kB / 0.7912 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/0.3393, allocations: 0 / 0.7912 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.4061, allocations: 31.02 MB / 0.8215 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.95, allocations: 4.688 kB / 0.8215 GB, free: 15.13 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.871055872994475] Failed to read output from testmodel.py, exit status != 0: 11.414501707011368 11.169159179 10.935630614 Calling exit ...