Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.001681/0.001681, allocations: 120 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.001897/0.001897, allocations: 214.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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8546/0.8546, allocations: 133.9 MB / 443.5 MB, free: 13.78 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,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.001977/0.001977, allocations: 67.69 kB / 0.6141 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1517, allocations: 85.86 MB / 0.698 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6422/0.794, allocations: 197.4 MB / 0.8908 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009189/0.8031, allocations: 5.266 MB / 0.8959 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.8053, allocations: 67.19 kB / 0.896 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.8075, allocations: 0.8292 MB / 0.8968 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007501/0.815, allocations: 2.748 MB / 0.8995 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.8179, allocations: 1.026 MB / 0.9005 GB, free: 1.488 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.8216, allocations: 2.716 MB / 0.9031 GB, free: 1.484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.823, allocations: 0.8188 MB / 0.9039 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.8251, allocations: 1.161 MB / 0.9051 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.8266, allocations: 1.065 MB / 0.9061 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.8268, allocations: 89.31 kB / 0.9062 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.8302, allocations: 1.91 MB / 0.9081 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.8307, allocations: 466.2 kB / 0.9085 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008129/0.8315, allocations: 0.6716 MB / 0.9092 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.8351, allocations: 2.255 MB / 0.9114 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8351, allocations: 0.75 kB / 0.9114 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8351, allocations: 0 / 0.9114 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.8351, allocations: 0.9688 kB / 0.9114 GB, free: 0.9492 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005084/0.8402, allocations: 2.037 MB / 0.9134 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.8402, allocations: 11.86 kB / 0.9134 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.808e-05/0.8402, allocations: 22.31 kB / 0.9134 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.8404, allocations: 141.2 kB / 0.9135 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005502/0.8459, allocations: 0.9075 MB / 0.9144 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.8479, allocations: 0.9889 MB / 0.9154 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.8479, allocations: 67.75 kB / 0.9154 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.8481, allocations: 95.19 kB / 0.9155 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.8515, allocations: 1.582 MB / 0.9171 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.8516, allocations: 0.9375 kB / 0.9171 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.8517, allocations: 41.69 kB / 0.9171 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.8517, allocations: 46.44 kB / 0.9172 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.8566, allocations: 1.857 MB / 0.919 GB, free: 15.26 MB / 0.6856 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.007263/0.8638, allocations: 4.74 MB / 0.9236 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.8681, allocations: 1.523 MB / 0.9251 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.8702, allocations: 0.8176 MB / 0.9259 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.8716, allocations: 0.9467 MB / 0.9268 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/0.874, allocations: 0.9103 MB / 0.9277 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=95): time 3.496e-06/0.874, allocations: 3.938 kB / 0.9277 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.007727/0.8817, allocations: 2.459 MB / 0.9301 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.8817, allocations: 63.67 kB / 0.9302 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.8834, allocations: 1.226 MB / 0.9314 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.8836, allocations: 46.89 kB / 0.9314 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.8841, allocations: 0.55 MB / 0.932 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.8845, allocations: 350.3 kB / 0.9323 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.8849, allocations: 188.7 kB / 0.9325 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.885, allocations: 341.4 kB / 0.9328 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.8872, allocations: 0.7035 MB / 0.9335 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.8895, allocations: 0.9094 MB / 0.9344 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.8938, allocations: 1.551 MB / 0.9359 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.8938, allocations: 6.656 kB / 0.9359 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005226/0.8991, allocations: 1.778 MB / 0.9376 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.8991, allocations: 11.45 kB / 0.9376 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8991, allocations: 12.38 kB / 0.9376 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.8991, allocations: 9.656 kB / 0.9377 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.9009, allocations: 337.4 kB / 0.938 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.901, allocations: 8.312 kB / 0.938 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.9027, allocations: 241.6 kB / 0.9382 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9028, allocations: 47.72 kB / 0.9383 GB, free: 9.691 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006376/0.9034, allocations: 344.6 kB / 0.9386 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.9037, allocations: 144 kB / 0.9387 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/0.9089, allocations: 1.804 MB / 0.9405 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9089, allocations: 8.156 kB / 0.9405 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9089, allocations: 2.75 kB / 0.9405 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.9089, allocations: 9.578 kB / 0.9405 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007831/0.9168, allocations: 3.342 MB / 0.9438 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.9168, allocations: 7.344 kB / 0.9438 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.9185, allocations: 284.9 kB / 0.9441 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.9185, allocations: 13.34 kB / 0.9441 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.9187, allocations: 37.95 kB / 0.9441 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.9187, allocations: 7.375 kB / 0.9441 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.9187, allocations: 5.625 kB / 0.9441 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.9264, allocations: 2.858 MB / 0.9469 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/0.9272, allocations: 331.9 kB / 0.9472 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.9274, allocations: 23.47 kB / 0.9472 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.9288, allocations: 154.5 kB / 0.9474 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.929, allocations: 75.92 kB / 0.9475 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.9291, allocations: 39.97 kB / 0.9475 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001182/0.9302, allocations: 0.8517 MB / 0.9483 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9302, allocations: 0 / 0.9483 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00118/0.9314, allocations: 343.7 kB / 0.9487 GB, free: 4.789 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01006/0.9415, allocations: 3.828 MB / 0.9524 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005329/0.9468, allocations: 1.584 MB / 0.9539 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.9468, allocations: 0 / 0.9539 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.9494, allocations: 0.8056 MB / 0.9547 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.9526, allocations: 0.6214 MB / 0.9553 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/0.9793, allocations: 12.19 MB / 0.9672 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008955/0.9802, allocations: 1.195 MB / 0.9684 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001441/0.9817, allocations: 366 kB / 0.9688 GB, free: 184 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009774/0.9826, allocations: 0.5191 MB / 0.9693 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.9826, allocations: 0 / 0.9693 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/1.054, allocations: 36.06 MB / 1.004 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.98, allocations: 11.94 kB / 1.004 GB, free: 12.1 MB / 0.7481 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.91204361000564] Failed to read output from testmodel.py, exit status != 0: 12.442208827007562 12.203221574 11.363060702 Calling exit ...