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.001575/0.001575, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001892/0.001892, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.816 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.8796/0.8796, allocations: 134 MB / 446.4 MB, free: 9.938 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.00205/0.00205, allocations: 65.98 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2082, allocations: 85.91 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6976/0.9058, allocations: 171.4 MB / 0.8698 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.9167, allocations: 5.007 MB / 0.8747 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.9185, allocations: 71.31 kB / 0.8747 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.9209, allocations: 0.8081 MB / 0.8755 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008526/0.9294, allocations: 2.723 MB / 0.8782 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.9327, allocations: 1.039 MB / 0.8792 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004864/0.9375, allocations: 2.723 MB / 0.8818 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.9393, allocations: 0.75 MB / 0.8826 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.9422, allocations: 1.172 MB / 0.8837 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.9443, allocations: 1.023 MB / 0.8847 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.9447, allocations: 95.98 kB / 0.8848 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.9487, allocations: 1.488 MB / 0.8863 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000809/0.9495, allocations: 470.4 kB / 0.8867 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.9508, allocations: 0.548 MB / 0.8872 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.956, allocations: 2.199 MB / 0.8894 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.956, allocations: 0 / 0.8894 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.956, allocations: 0 / 0.8894 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.425e-05/0.9561, allocations: 0 / 0.8894 GB, free: 3.562 MB / 0.6544 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.006617/0.9627, allocations: 1.965 MB / 0.8913 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.9628, allocations: 8.031 kB / 0.8913 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.9631, allocations: 135.6 kB / 0.8915 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.9687, allocations: 0.9041 MB / 0.8923 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.971, allocations: 0.8802 MB / 0.8932 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.9711, allocations: 69.98 kB / 0.8933 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/0.9714, allocations: 88 kB / 0.8933 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.9755, allocations: 1.591 MB / 0.8949 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.9755, allocations: 4 kB / 0.8949 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.9756, allocations: 36 kB / 0.8949 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/0.9757, allocations: 53.92 kB / 0.895 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0056/0.9813, allocations: 1.862 MB / 0.8968 GB, free: 11.84 MB / 0.67 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.008864/0.9901, allocations: 3.972 MB / 0.9007 GB, free: 7.766 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.9948, allocations: 1.53 MB / 0.9022 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.9972, allocations: 0.8117 MB / 0.903 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009585/0.9982, allocations: 193.5 kB / 0.9032 GB, free: 5.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002682/1.001, allocations: 0.9222 MB / 0.9041 GB, free: 4.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/1.001, allocations: 3.938 kB / 0.9041 GB, free: 4.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.008301/1.009, allocations: 2.486 MB / 0.9065 GB, free: 1.797 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/1.009, allocations: 64.41 kB / 0.9065 GB, free: 1.723 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/1.011, allocations: 1.253 MB / 0.9078 GB, free: 472 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.011, allocations: 41.7 kB / 0.9078 GB, free: 424 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/1.012, allocations: 0.5574 MB / 0.9084 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/1.012, allocations: 349 kB / 0.9087 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/1.013, allocations: 194.5 kB / 0.9089 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.013, allocations: 341.9 kB / 0.9092 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/1.015, allocations: 0.7083 MB / 0.9099 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/1.018, allocations: 1.149 MB / 0.911 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/1.022, allocations: 1.558 MB / 0.9125 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.022, allocations: 4 kB / 0.9125 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005343/1.027, allocations: 1.804 MB / 0.9143 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.027, allocations: 8.438 kB / 0.9143 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.028, allocations: 4 kB / 0.9143 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/1.028, allocations: 12 kB / 0.9143 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.029, allocations: 335.5 kB / 0.9146 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/1.029, allocations: 15.92 kB / 0.9147 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/1.031, allocations: 235 kB / 0.9149 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.031, allocations: 51.97 kB / 0.9149 GB, free: 8.91 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.0007133/1.032, allocations: 336 kB / 0.9153 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/1.032, allocations: 143.1 kB / 0.9154 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/1.038, allocations: 1.87 MB / 0.9172 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.038, allocations: 8 kB / 0.9172 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.038, allocations: 0 / 0.9172 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.038, allocations: 3.984 kB / 0.9172 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008561/1.046, allocations: 3.228 MB / 0.9204 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.046, allocations: 8.031 kB / 0.9204 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/1.048, allocations: 295.6 kB / 0.9207 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-05/1.048, allocations: 8 kB / 0.9207 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.048, allocations: 31.97 kB / 0.9207 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.432e-05/1.048, allocations: 11.94 kB / 0.9207 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.048, allocations: 4 kB / 0.9207 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/1.057, allocations: 2.933 MB / 0.9236 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008666/1.057, allocations: 258.8 kB / 0.9238 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/1.058, allocations: 24 kB / 0.9239 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.059, allocations: 155.8 kB / 0.924 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.06, allocations: 76.81 kB / 0.9241 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.06, allocations: 39.97 kB / 0.9241 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001493/1.061, allocations: 0.879 MB / 0.925 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.061, allocations: 0 / 0.925 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001297/1.062, allocations: 351.6 kB / 0.9253 GB, free: 14.11 MB / 0.7012 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 (101): * Single equations (assignments): 95 * 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/1.072, allocations: 3.922 MB / 0.9291 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005047/1.078, allocations: 1.621 MB / 0.9307 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.078, allocations: 0 / 0.9307 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/1.08, allocations: 0.8224 MB / 0.9315 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/1.083, allocations: 0.6184 MB / 0.9321 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/1.111, allocations: 12.25 MB / 0.9441 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/1.112, allocations: 0.5996 MB / 0.9447 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001613/1.113, allocations: 365.9 kB / 0.945 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009682/1.114, allocations: 0.511 MB / 0.9455 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of SimCode: time 1.382e-06/1.114, allocations: 4 kB / 0.9455 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09058/1.205, allocations: 39.44 MB / 0.984 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.51, allocations: 10.75 kB / 0.9841 GB, free: 2.223 MB / 0.7481 GB " [Timeout remaining time 646] (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: 17.478907541837543] Failed to read output from testmodel.py, exit status != 0: 13.691269661765546 13.708001831 12.748515685 Calling exit ...