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.00141/0.00141, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001834/0.001834, allocations: 213.5 kB / 23.03 MB, free: 4.926 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8839/0.8839, allocations: 134 MB / 447.2 MB, free: 9.98 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.00192/0.00192, allocations: 66.5 kB / 0.6193 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1596, allocations: 85.91 MB / 0.7032 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5669/0.7265, allocations: 171.3 MB / 0.8704 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009898/0.7364, allocations: 4.99 MB / 0.8753 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.7377, allocations: 71.38 kB / 0.8754 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.7401, allocations: 0.7964 MB / 0.8761 GB, free: 2 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0072/0.7473, allocations: 2.728 MB / 0.8788 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.7501, allocations: 1.05 MB / 0.8798 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.7543, allocations: 2.672 MB / 0.8824 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.7559, allocations: 0.733 MB / 0.8831 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.7585, allocations: 1.14 MB / 0.8843 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.7605, allocations: 1.023 MB / 0.8853 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.7608, allocations: 80 kB / 0.8853 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.7642, allocations: 1.5 MB / 0.8868 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007281/0.7649, allocations: 458.4 kB / 0.8872 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009392/0.7658, allocations: 0.5285 MB / 0.8878 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.7705, allocations: 2.136 MB / 0.8898 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7705, allocations: 0 / 0.8898 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7705, allocations: 0 / 0.8898 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.7705, allocations: 0 / 0.8898 GB, free: 3.914 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005525/0.776, allocations: 1.934 MB / 0.8917 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7761, allocations: 8.031 kB / 0.8917 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.681e-05/0.7761, allocations: 22 kB / 0.8918 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.7763, allocations: 143.4 kB / 0.8919 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/0.7804, allocations: 0.6701 MB / 0.8925 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.7823, allocations: 0.8529 MB / 0.8934 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/0.7824, allocations: 73.86 kB / 0.8935 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.7826, allocations: 88 kB / 0.8935 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.7862, allocations: 1.481 MB / 0.895 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.7862, allocations: 0 / 0.895 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.7863, allocations: 39.98 kB / 0.895 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.75e-05/0.7864, allocations: 53.91 kB / 0.8951 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.7907, allocations: 1.53 MB / 0.8966 GB, free: 12.86 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.008173/0.7989, allocations: 4.756 MB / 0.9012 GB, free: 7.949 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.8027, allocations: 1.25 MB / 0.9024 GB, free: 6.691 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.8044, allocations: 0.6311 MB / 0.903 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.8051, allocations: 132.5 kB / 0.9032 GB, free: 5.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.807, allocations: 0.7147 MB / 0.9039 GB, free: 5.199 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.115e-06/0.807, allocations: 4 kB / 0.9039 GB, free: 5.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.005899/0.8129, allocations: 1.902 MB / 0.9057 GB, free: 3.289 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.813, allocations: 67.98 kB / 0.9058 GB, free: 3.207 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.8148, allocations: 1.295 MB / 0.9071 GB, free: 1.902 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.8149, allocations: 45.69 kB / 0.9071 GB, free: 1.852 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.8154, allocations: 0.5996 MB / 0.9077 GB, free: 1.246 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.8157, allocations: 289.6 kB / 0.908 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.8161, allocations: 182.6 kB / 0.9081 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8163, allocations: 345.9 kB / 0.9085 GB, free: 444 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.8179, allocations: 0.5406 MB / 0.909 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.82, allocations: 1.055 MB / 0.91 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.8234, allocations: 1.34 MB / 0.9113 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.8234, allocations: 7.938 kB / 0.9113 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0042/0.8276, allocations: 1.515 MB / 0.9128 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.8277, allocations: 8 kB / 0.9128 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.8277, allocations: 4 kB / 0.9128 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.8277, allocations: 12 kB / 0.9128 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.8292, allocations: 303.9 kB / 0.9131 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.8292, allocations: 12 kB / 0.9132 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8306, allocations: 195 kB / 0.9133 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.8307, allocations: 51.97 kB / 0.9134 GB, free: 11.13 MB / 0.6856 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.000619/0.8313, allocations: 347.4 kB / 0.9137 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.8315, allocations: 143.1 kB / 0.9139 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.8356, allocations: 1.477 MB / 0.9153 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.8356, allocations: 8 kB / 0.9153 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8357, allocations: 0 / 0.9153 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.8357, allocations: 3.984 kB / 0.9153 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006412/0.8421, allocations: 2.721 MB / 0.918 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8421, allocations: 4.594 kB / 0.918 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.8434, allocations: 235.6 kB / 0.9182 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.8434, allocations: 8 kB / 0.9182 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.56e-05/0.8435, allocations: 31.97 kB / 0.9182 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/0.8436, allocations: 11.98 kB / 0.9182 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.8436, allocations: 7.938 kB / 0.9183 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/0.8495, allocations: 2.334 MB / 0.9205 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.8501, allocations: 234.8 kB / 0.9208 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.8503, allocations: 20 kB / 0.9208 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8514, allocations: 111.9 kB / 0.9209 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.8516, allocations: 69.3 kB / 0.9209 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/0.8517, allocations: 35.97 kB / 0.921 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001249/0.8529, allocations: 0.8959 MB / 0.9219 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8529, allocations: 0 / 0.9219 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00118/0.8541, allocations: 327.7 kB / 0.9222 GB, free: 1.945 MB / 0.6856 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 (86): * Single equations (assignments): 80 * 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.008089/0.8622, allocations: 3.326 MB / 0.9254 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004114/0.8663, allocations: 1.278 MB / 0.9267 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.8663, allocations: 0 / 0.9267 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.8682, allocations: 0.637 MB / 0.9273 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/0.8714, allocations: 0.5911 MB / 0.9279 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/0.8935, allocations: 11.15 MB / 0.9387 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.8941, allocations: 0.5947 MB / 0.9393 GB, free: 88 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0013/0.8954, allocations: 341.9 kB / 0.9397 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/0.8963, allocations: 0.5032 MB / 0.9401 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.8963, allocations: 0 / 0.9401 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07422/0.9705, allocations: 37.22 MB / 0.9765 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.8, allocations: 4.062 kB / 0.9765 GB, free: 10.53 MB / 0.7481 GB " [Timeout remaining time 645] (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: 18.627588032046333] Failed to read output from testmodel.py, exit status != 0: 15.042753036948852 15.068232076 14.293905765 Calling exit ...