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.001297/0.001297, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001445/0.001445, allocations: 218.5 kB / 23.03 MB, free: 4.945 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8307/0.8307, allocations: 134 MB / 447.2 MB, free: 9.926 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.002219/0.002219, allocations: 62.72 kB / 0.6193 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1779, allocations: 85.91 MB / 0.7032 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.551/0.7289, allocations: 171.2 MB / 0.8704 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009501/0.7384, allocations: 5.001 MB / 0.8753 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.7402, allocations: 67.38 kB / 0.8753 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.7425, allocations: 0.8042 MB / 0.8761 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007177/0.7497, allocations: 2.731 MB / 0.8788 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7525, allocations: 1.05 MB / 0.8798 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.7567, allocations: 2.739 MB / 0.8825 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.7583, allocations: 0.7695 MB / 0.8832 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.7608, allocations: 1.168 MB / 0.8844 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.7628, allocations: 1.066 MB / 0.8854 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.763, allocations: 88 kB / 0.8855 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.7665, allocations: 1.512 MB / 0.887 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006677/0.7672, allocations: 462.5 kB / 0.8874 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009409/0.7681, allocations: 0.5557 MB / 0.888 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004306/0.7725, allocations: 2.203 MB / 0.8901 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7725, allocations: 0 / 0.8901 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7725, allocations: 0 / 0.8901 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.476e-05/0.7725, allocations: 4 kB / 0.8901 GB, free: 3.602 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.005588/0.7781, allocations: 1.954 MB / 0.892 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.7781, allocations: 16.02 kB / 0.8921 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.511e-05/0.7782, allocations: 22 kB / 0.8921 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.7784, allocations: 139.6 kB / 0.8922 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.784, allocations: 0.9002 MB / 0.8931 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.7859, allocations: 0.8841 MB / 0.8939 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.7859, allocations: 66 kB / 0.894 GB, free: 15.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.7861, allocations: 91.98 kB / 0.8941 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.7901, allocations: 1.587 MB / 0.8956 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.7901, allocations: 0 / 0.8956 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.7902, allocations: 43.98 kB / 0.8957 GB, free: 13.78 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.7903, allocations: 49.98 kB / 0.8957 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005359/0.7956, allocations: 1.865 MB / 0.8976 GB, free: 11.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.008082/0.8037, allocations: 3.984 MB / 0.9015 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.8082, allocations: 1.515 MB / 0.9029 GB, free: 6.254 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.8105, allocations: 0.8195 MB / 0.9037 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009797/0.8114, allocations: 196.8 kB / 0.9039 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/0.814, allocations: 0.9144 MB / 0.9048 GB, free: 4.309 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 3.918e-06/0.814, allocations: 0 / 0.9048 GB, free: 4.309 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.007859/0.8219, allocations: 2.486 MB / 0.9072 GB, free: 1.816 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.822, allocations: 68.34 kB / 0.9073 GB, free: 1.738 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.8236, allocations: 1.257 MB / 0.9085 GB, free: 484 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.8237, allocations: 41.7 kB / 0.9086 GB, free: 436 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.8242, allocations: 0.5573 MB / 0.9091 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.8246, allocations: 345 kB / 0.9094 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.8249, allocations: 190.6 kB / 0.9096 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8251, allocations: 353.8 kB / 0.91 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.8273, allocations: 0.6966 MB / 0.9106 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.8298, allocations: 1.145 MB / 0.9118 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004382/0.8341, allocations: 1.565 MB / 0.9133 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.8341, allocations: 4 kB / 0.9133 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00509/0.8392, allocations: 1.8 MB / 0.9151 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.8393, allocations: 4 kB / 0.9151 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.8393, allocations: 11.88 kB / 0.9151 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.8393, allocations: 15.98 kB / 0.9151 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.8411, allocations: 331.5 kB / 0.9154 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.8411, allocations: 15.94 kB / 0.9154 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.8428, allocations: 235 kB / 0.9156 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.8429, allocations: 47.97 kB / 0.9157 GB, free: 8.934 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.0006263/0.8435, allocations: 343.4 kB / 0.916 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.8438, allocations: 139.1 kB / 0.9161 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/0.8491, allocations: 1.868 MB / 0.918 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.8492, allocations: 12 kB / 0.918 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8492, allocations: 0 / 0.918 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8492, allocations: 3.984 kB / 0.918 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007684/0.8569, allocations: 3.216 MB / 0.9211 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8569, allocations: 4 kB / 0.9211 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.8586, allocations: 307.5 kB / 0.9214 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.8586, allocations: 8 kB / 0.9214 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.8587, allocations: 35.97 kB / 0.9215 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.8587, allocations: 11.98 kB / 0.9215 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.8587, allocations: 8.953 kB / 0.9215 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/0.8662, allocations: 2.925 MB / 0.9243 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.8669, allocations: 258.7 kB / 0.9246 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.8671, allocations: 35.42 kB / 0.9246 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.8685, allocations: 155.8 kB / 0.9248 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.8687, allocations: 80.75 kB / 0.9248 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.8688, allocations: 39.97 kB / 0.9249 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00112/0.8699, allocations: 0.8751 MB / 0.9257 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8699, allocations: 0 / 0.9257 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001042/0.8709, allocations: 347.7 kB / 0.9261 GB, free: 14.12 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.00962/0.8806, allocations: 3.909 MB / 0.9299 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004988/0.8855, allocations: 1.617 MB / 0.9315 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8855, allocations: 0 / 0.9315 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.888, allocations: 0.834 MB / 0.9323 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.8909, allocations: 0.6201 MB / 0.9329 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/0.9164, allocations: 12.25 MB / 0.9448 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.917, allocations: 0.5996 MB / 0.9454 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0014/0.9184, allocations: 373.9 kB / 0.9458 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008944/0.9193, allocations: 0.511 MB / 0.9463 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of SimCode: time 1.453e-06/0.9193, allocations: 4 kB / 0.9463 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/0.9965, allocations: 39.17 MB / 0.9845 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.17, allocations: 4.062 kB / 0.9845 GB, free: 2.543 MB / 0.7481 GB " [Timeout remaining time 645] (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: 18.98281012591906] Failed to read output from testmodel.py, exit status != 0: 15.414667032076977 15.43919197 14.661749085 Calling exit ...