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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8287/0.8287, allocations: 134 MB / 436.6 MB, free: 1.277 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003143/0.003143, allocations: 68.52 kB / 0.6051 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1902, allocations: 84.67 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5865/0.7768, allocations: 194.5 MB / 0.8778 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009624/0.7864, allocations: 5.142 MB / 0.8828 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.7878, allocations: 51.69 kB / 0.8828 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.7899, allocations: 0.8276 MB / 0.8837 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007099/0.797, allocations: 2.707 MB / 0.8863 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.8002, allocations: 1.101 MB / 0.8874 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00457/0.8048, allocations: 2.691 MB / 0.89 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.8062, allocations: 0.8079 MB / 0.8908 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.8087, allocations: 1.144 MB / 0.8919 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.8103, allocations: 1.059 MB / 0.8929 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.8104, allocations: 84 kB / 0.893 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.8149, allocations: 1.909 MB / 0.8949 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006419/0.8155, allocations: 462.5 kB / 0.8953 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.8165, allocations: 0.6721 MB / 0.896 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.8215, allocations: 2.23 MB / 0.8982 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8215, allocations: 0 / 0.8982 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8215, allocations: 0 / 0.8982 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.8215, allocations: 4 kB / 0.8982 GB, free: 7.348 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.005333/0.8268, allocations: 2.013 MB / 0.9001 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.8269, allocations: 12.02 kB / 0.9001 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.8271, allocations: 143.6 kB / 0.9003 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005434/0.8325, allocations: 0.9041 MB / 0.9012 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.8347, allocations: 0.981 MB / 0.9021 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.8348, allocations: 70 kB / 0.9022 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.835, allocations: 95.97 kB / 0.9023 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.8389, allocations: 1.575 MB / 0.9038 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.839, allocations: 0 / 0.9038 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.8391, allocations: 43.97 kB / 0.9039 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/0.8392, allocations: 45.98 kB / 0.9039 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005281/0.8444, allocations: 1.85 MB / 0.9057 GB, free: 15.46 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.008785/0.8532, allocations: 4.723 MB / 0.9103 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.8577, allocations: 1.525 MB / 0.9118 GB, free: 8.969 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.86, allocations: 0.8166 MB / 0.9126 GB, free: 8.152 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.8614, allocations: 0.9458 MB / 0.9135 GB, free: 7.02 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002543/0.864, allocations: 0.9105 MB / 0.9144 GB, free: 6.094 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 3.276e-06/0.864, allocations: 0 / 0.9144 GB, free: 6.094 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.008022/0.872, allocations: 2.463 MB / 0.9168 GB, free: 3.629 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.8721, allocations: 60.41 kB / 0.9169 GB, free: 3.555 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.8738, allocations: 1.197 MB / 0.9181 GB, free: 2.348 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.8739, allocations: 45.7 kB / 0.9181 GB, free: 2.297 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.8744, allocations: 0.5454 MB / 0.9186 GB, free: 1.746 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.8748, allocations: 345.1 kB / 0.919 GB, free: 1.406 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.8752, allocations: 194.5 kB / 0.9191 GB, free: 1.211 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.8754, allocations: 341.9 kB / 0.9195 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.8775, allocations: 0.6967 MB / 0.9202 GB, free: 180 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.8798, allocations: 0.9198 MB / 0.9211 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/0.8841, allocations: 1.554 MB / 0.9226 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.8841, allocations: 0 / 0.9226 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004999/0.8891, allocations: 1.784 MB / 0.9243 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.8892, allocations: 8 kB / 0.9243 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.8892, allocations: 4 kB / 0.9243 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.8892, allocations: 11.98 kB / 0.9243 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.8909, allocations: 346.4 kB / 0.9247 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.891, allocations: 11.94 kB / 0.9247 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.8925, allocations: 239 kB / 0.9249 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.8927, allocations: 47.97 kB / 0.925 GB, free: 11.13 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.0005967/0.8933, allocations: 341.1 kB / 0.9253 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.8935, allocations: 143.1 kB / 0.9254 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/0.8986, allocations: 1.803 MB / 0.9272 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.8986, allocations: 8 kB / 0.9272 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.8987, allocations: 0 / 0.9272 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8987, allocations: 11.97 kB / 0.9272 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.9064, allocations: 3.32 MB / 0.9304 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.9064, allocations: 4 kB / 0.9304 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.908, allocations: 288.1 kB / 0.9307 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.908, allocations: 9.75 kB / 0.9307 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.9081, allocations: 35.97 kB / 0.9308 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.9081, allocations: 15.92 kB / 0.9308 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.9081, allocations: 5.562 kB / 0.9308 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007323/0.9154, allocations: 2.852 MB / 0.9336 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/0.9162, allocations: 331.9 kB / 0.9339 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.9164, allocations: 24 kB / 0.9339 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.9177, allocations: 159.7 kB / 0.9341 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.9179, allocations: 64.52 kB / 0.9341 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.918, allocations: 43.97 kB / 0.9342 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001096/0.9191, allocations: 0.8315 MB / 0.935 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9191, allocations: 0 / 0.935 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00104/0.9201, allocations: 339.7 kB / 0.9353 GB, free: 344 kB / 0.6856 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 (95): * Single equations (assignments): 89 * 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.009333/0.9295, allocations: 3.842 MB / 0.939 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004739/0.9342, allocations: 1.591 MB / 0.9406 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.9342, allocations: 0 / 0.9406 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.9366, allocations: 0.8165 MB / 0.9414 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.9394, allocations: 0.6077 MB / 0.942 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/0.9644, allocations: 12.09 MB / 0.9538 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/0.9654, allocations: 1.189 MB / 0.955 GB, free: 12 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001399/0.9668, allocations: 358 kB / 0.9553 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/0.9676, allocations: 0.5032 MB / 0.9558 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/0.9676, allocations: 0 / 0.9558 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07685/1.044, allocations: 35.86 MB / 0.9908 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.31, allocations: 6.203 kB / 0.9908 GB, free: 7.551 MB / 0.7481 GB " [Timeout remaining time 649] (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: 14.91310953302309] Failed to read output from testmodel.py, exit status != 0: 11.45651175128296 11.477257505 10.651501091 Calling exit ...