Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001313/0.001313, 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.001459/0.001459, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8455/0.8455, allocations: 134 MB / 447.2 MB, free: 10.24 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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001963/0.001963, allocations: 56.25 kB / 0.6193 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1722, allocations: 85.91 MB / 0.7032 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5751/0.7473, allocations: 197.8 MB / 0.8964 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.7577, allocations: 5.279 MB / 0.9016 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.7593, allocations: 67.38 kB / 0.9017 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.7616, allocations: 0.8392 MB / 0.9025 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.7693, allocations: 2.778 MB / 0.9052 GB, free: 7.734 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.7724, allocations: 1.055 MB / 0.9062 GB, free: 6.684 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004313/0.7768, allocations: 2.68 MB / 0.9088 GB, free: 3.996 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.7784, allocations: 0.7175 MB / 0.9095 GB, free: 3.266 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.7811, allocations: 1.152 MB / 0.9107 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.7832, allocations: 1.027 MB / 0.9117 GB, free: 1.078 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003573/0.7836, allocations: 83.94 kB / 0.9117 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.7879, allocations: 1.94 MB / 0.9136 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.7886, allocations: 450.5 kB / 0.9141 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.7899, allocations: 0.6526 MB / 0.9147 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.7945, allocations: 2.191 MB / 0.9168 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7945, allocations: 0 / 0.9168 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7945, allocations: 4 kB / 0.9169 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.177e-05/0.7945, allocations: 0 / 0.9169 GB, free: 11.75 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006021/0.8006, allocations: 1.93 MB / 0.9187 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8006, allocations: 8.031 kB / 0.9187 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.943e-05/0.8007, allocations: 30 kB / 0.9188 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.8009, allocations: 139.4 kB / 0.9189 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.805, allocations: 0.6701 MB / 0.9196 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.8071, allocations: 0.8784 MB / 0.9204 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.8072, allocations: 66 kB / 0.9205 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.8074, allocations: 91.98 kB / 0.9206 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.811, allocations: 1.476 MB / 0.922 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.8111, allocations: 0 / 0.922 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.8112, allocations: 32 kB / 0.922 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.8113, allocations: 53.92 kB / 0.9221 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004446/0.8157, allocations: 1.522 MB / 0.9236 GB, free: 4.688 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.008576/0.8243, allocations: 5.449 MB / 0.9289 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.8283, allocations: 1.237 MB / 0.9301 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.8301, allocations: 0.6272 MB / 0.9307 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.8308, allocations: 132.5 kB / 0.9308 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002025/0.8328, allocations: 0.7069 MB / 0.9315 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.045e-06/0.8328, allocations: 0 / 0.9315 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.006058/0.8389, allocations: 1.886 MB / 0.9334 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.8389, allocations: 60.06 kB / 0.9334 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.8408, allocations: 1.264 MB / 0.9347 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.8409, allocations: 49.69 kB / 0.9347 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.8415, allocations: 0.5957 MB / 0.9353 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.8418, allocations: 293.6 kB / 0.9356 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.8421, allocations: 178.6 kB / 0.9358 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.8423, allocations: 341.9 kB / 0.9361 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.8441, allocations: 0.5367 MB / 0.9366 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.8461, allocations: 0.8248 MB / 0.9374 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.8497, allocations: 1.328 MB / 0.9387 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.8497, allocations: 7.938 kB / 0.9387 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004328/0.854, allocations: 1.499 MB / 0.9402 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.854, allocations: 8 kB / 0.9402 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.8541, allocations: 8 kB / 0.9402 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.8541, allocations: 12 kB / 0.9402 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.8556, allocations: 299.9 kB / 0.9405 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/0.8556, allocations: 12 kB / 0.9405 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.8571, allocations: 199 kB / 0.9407 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.8572, allocations: 51.91 kB / 0.9407 GB, free: 2.539 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006389/0.8578, allocations: 347.4 kB / 0.9411 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.8582, allocations: 143.2 kB / 0.9412 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/0.8625, allocations: 1.454 MB / 0.9426 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.8625, allocations: 8 kB / 0.9426 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8625, allocations: 4 kB / 0.9426 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.8625, allocations: 3.984 kB / 0.9426 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006654/0.8692, allocations: 2.805 MB / 0.9454 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8692, allocations: 4 kB / 0.9454 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.8705, allocations: 228.2 kB / 0.9456 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/0.8705, allocations: 8 kB / 0.9456 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.796e-05/0.8706, allocations: 27.97 kB / 0.9456 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.8706, allocations: 8 kB / 0.9456 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.8706, allocations: 8.625 kB / 0.9457 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/0.8768, allocations: 2.294 MB / 0.9479 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006949/0.8775, allocations: 230.8 kB / 0.9481 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.8778, allocations: 23.98 kB / 0.9481 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.879, allocations: 111.9 kB / 0.9482 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.8791, allocations: 68.42 kB / 0.9483 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.8792, allocations: 37.11 kB / 0.9483 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001313/0.8806, allocations: 0.8764 MB / 0.9492 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8806, allocations: 4 kB / 0.9492 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001224/0.8818, allocations: 311.7 kB / 0.9495 GB, free: 9.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (83): * Single equations (assignments): 77 * 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.008276/0.8901, allocations: 3.256 MB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00416/0.8942, allocations: 1.258 MB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.8942, allocations: 4 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.8962, allocations: 0.6253 MB / 0.9545 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/0.8994, allocations: 0.5895 MB / 0.9551 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/0.9224, allocations: 11.08 MB / 0.9659 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.9234, allocations: 1.19 MB / 0.9671 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001287/0.9247, allocations: 346 kB / 0.9674 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.9256, allocations: 0.4993 MB / 0.9679 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/0.9256, allocations: 4 kB / 0.9679 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08056/1.006, allocations: 35.16 MB / 1.002 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.35, allocations: 8 kB / 1.002 GB, free: 3.344 MB / 0.7637 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.12242667900864] Failed to read output from testmodel.py, exit status != 0: 18.586505963932723 18.603621012 17.805607166 Calling exit ...