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.001621/0.001621, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001547/0.001547, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.8446/0.8446, allocations: 134 MB / 447.2 MB, free: 10.19 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.001951/0.001951, allocations: 71.03 kB / 0.6193 GB, free: 7.285 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1872, allocations: 85.91 MB / 0.7032 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6532/0.8403, allocations: 197.8 MB / 0.8964 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.8505, allocations: 5.281 MB / 0.9016 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.852, allocations: 67.38 kB / 0.9017 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.8542, allocations: 0.8353 MB / 0.9025 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007409/0.8616, allocations: 2.781 MB / 0.9052 GB, free: 7.762 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.8645, allocations: 1.057 MB / 0.9062 GB, free: 6.711 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004268/0.8687, allocations: 2.75 MB / 0.9089 GB, free: 3.953 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.8704, allocations: 0.7695 MB / 0.9097 GB, free: 3.176 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.8731, allocations: 1.176 MB / 0.9108 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.8755, allocations: 1.062 MB / 0.9118 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.8759, allocations: 88 kB / 0.9119 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.8802, allocations: 1.956 MB / 0.9138 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007703/0.881, allocations: 466.4 kB / 0.9143 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.8824, allocations: 0.6721 MB / 0.9149 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.8874, allocations: 2.253 MB / 0.9171 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8874, allocations: 4 kB / 0.9171 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8874, allocations: 0 / 0.9171 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.651e-05/0.8875, allocations: 0 / 0.9171 GB, free: 11.48 MB / 0.6856 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.006097/0.8936, allocations: 1.954 MB / 0.919 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8936, allocations: 8.031 kB / 0.9191 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.863e-05/0.8936, allocations: 22 kB / 0.9191 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002451/0.8939, allocations: 139.6 kB / 0.9192 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/0.8996, allocations: 0.908 MB / 0.9201 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.9018, allocations: 0.9134 MB / 0.921 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.9019, allocations: 66 kB / 0.9211 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.9022, allocations: 95.97 kB / 0.9211 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.9064, allocations: 1.575 MB / 0.9227 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.9064, allocations: 3.688 kB / 0.9227 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.9066, allocations: 35.98 kB / 0.9227 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.9066, allocations: 49.98 kB / 0.9228 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005975/0.9126, allocations: 1.854 MB / 0.9246 GB, free: 3.734 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.009061/0.9217, allocations: 4.7 MB / 0.9292 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/0.9265, allocations: 1.517 MB / 0.9306 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/0.929, allocations: 0.8163 MB / 0.9314 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/0.93, allocations: 200.8 kB / 0.9316 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002683/0.9326, allocations: 0.9027 MB / 0.9325 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 3.216e-06/0.9326, allocations: 0 / 0.9325 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.008373/0.941, allocations: 2.471 MB / 0.9349 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.9411, allocations: 64.41 kB / 0.935 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.9429, allocations: 1.222 MB / 0.9362 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.943, allocations: 41.7 kB / 0.9362 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/0.9436, allocations: 0.5612 MB / 0.9368 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.944, allocations: 341.1 kB / 0.9371 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.9444, allocations: 186.6 kB / 0.9373 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9445, allocations: 349.9 kB / 0.9376 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.9469, allocations: 0.6888 MB / 0.9383 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.9495, allocations: 0.923 MB / 0.9392 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004718/0.9542, allocations: 1.542 MB / 0.9407 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.9542, allocations: 3.938 kB / 0.9407 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005474/0.9597, allocations: 1.796 MB / 0.9424 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.9597, allocations: 4 kB / 0.9425 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9597, allocations: 4 kB / 0.9425 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.9597, allocations: 12.44 kB / 0.9425 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9615, allocations: 343.5 kB / 0.9428 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.9616, allocations: 15.92 kB / 0.9428 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.9632, allocations: 231.1 kB / 0.943 GB, free: 408 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.9633, allocations: 51.91 kB / 0.9431 GB, free: 356 kB / 0.7012 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.0006532/0.964, allocations: 339.4 kB / 0.9434 GB, free: 8 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.9644, allocations: 143.3 kB / 0.9435 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005611/0.97, allocations: 1.84 MB / 0.9453 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.97, allocations: 8 kB / 0.9453 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.97, allocations: 0 / 0.9453 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.97, allocations: 3.984 kB / 0.9454 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008193/0.9782, allocations: 3.338 MB / 0.9486 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.9782, allocations: 4 kB / 0.9486 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.9799, allocations: 296.1 kB / 0.9489 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/0.9799, allocations: 8 kB / 0.9489 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.98, allocations: 35.97 kB / 0.9489 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/0.9801, allocations: 11.92 kB / 0.9489 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.9801, allocations: 8 kB / 0.949 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007981/0.9881, allocations: 2.88 MB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/0.9887, allocations: 250.8 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.989, allocations: 27.98 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.9905, allocations: 151.8 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.9907, allocations: 76.47 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.9908, allocations: 43.97 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00124/0.992, allocations: 0.8555 MB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.992, allocations: 0 / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001119/0.9931, allocations: 347.6 kB / 0.9535 GB, free: 5.535 MB / 0.7169 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 (98): * Single equations (assignments): 92 * 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.01008/1.003, allocations: 3.837 MB / 0.9572 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005262/1.008, allocations: 1.595 MB / 0.9588 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.008, allocations: 0 / 0.9588 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/1.011, allocations: 0.8127 MB / 0.9596 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.014, allocations: 0.6206 MB / 0.9602 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.042, allocations: 12.2 MB / 0.9721 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.043, allocations: 1.199 MB / 0.9733 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001523/1.045, allocations: 354.2 kB / 0.9736 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/1.046, allocations: 0.5188 MB / 0.9741 GB, free: 180 kB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.046, allocations: 0 / 0.9741 GB, free: 180 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08502/1.131, allocations: 36.96 MB / 1.01 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.69, allocations: 6.469 kB / 1.01 GB, free: 11.5 MB / 0.7794 GB " [Timeout remaining time 641] (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: 22.58373073209077] Failed to read output from testmodel.py, exit status != 0: 18.931253763032146 18.95593835 18.063912308 Calling exit ...