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.002012/0.002012, allocations: 83.73 kB / 19.76 MB, free: 2.02 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.002467/0.002467, allocations: 161.8 kB / 23 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.8066/0.8066, allocations: 101.3 MB / 361.1 MB, free: 9.504 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [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.002185/0.002185, allocations: 62.41 kB / 0.5356 GB, free: 5.184 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1625, allocations: 85.88 MB / 0.6195 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5773/0.7399, allocations: 171.4 MB / 0.7869 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.7506, allocations: 5.005 MB / 0.7918 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.7522, allocations: 68.75 kB / 0.7918 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.7545, allocations: 0.8035 MB / 0.7926 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007428/0.7619, allocations: 2.72 MB / 0.7953 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.7647, allocations: 1.04 MB / 0.7963 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004017/0.7687, allocations: 2.664 MB / 0.7989 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.7702, allocations: 0.7109 MB / 0.7996 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.7724, allocations: 1.147 MB / 0.8007 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.7739, allocations: 0.9902 MB / 0.8017 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.774, allocations: 77.56 kB / 0.8018 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.7774, allocations: 1.478 MB / 0.8032 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.7779, allocations: 447.7 kB / 0.8036 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006673/0.7786, allocations: 0.5321 MB / 0.8041 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.7823, allocations: 2.147 MB / 0.8062 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7823, allocations: 0 / 0.8062 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7823, allocations: 0 / 0.8062 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.7823, allocations: 2.312 kB / 0.8062 GB, free: 5.062 MB / 0.6387 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.005255/0.7875, allocations: 1.944 MB / 0.8081 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.7876, allocations: 12 kB / 0.8082 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.7917, allocations: 0.6658 MB / 0.8088 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.7936, allocations: 0.8589 MB / 0.8096 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.7937, allocations: 69.98 kB / 0.8097 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.7938, allocations: 84 kB / 0.8098 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.7973, allocations: 1.478 MB / 0.8112 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.7973, allocations: 0 / 0.8112 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7974, allocations: 51.91 kB / 0.8113 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.7975, allocations: 41.98 kB / 0.8113 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/0.8019, allocations: 1.53 MB / 0.8128 GB, free: 15.35 MB / 0.6544 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.007819/0.8097, allocations: 4.583 MB / 0.8173 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/0.8137, allocations: 1.253 MB / 0.8185 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.8157, allocations: 0.6322 MB / 0.8191 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/0.8164, allocations: 132.5 kB / 0.8193 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.8185, allocations: 0.7185 MB / 0.82 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/0.8185, allocations: 0 / 0.82 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.006626/0.8251, allocations: 1.891 MB / 0.8218 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.8252, allocations: 64.06 kB / 0.8219 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.8273, allocations: 1.093 MB / 0.8229 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.8275, allocations: 41.7 kB / 0.823 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000728/0.8282, allocations: 0.6102 MB / 0.8236 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.8286, allocations: 293.6 kB / 0.8238 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.8291, allocations: 186.6 kB / 0.824 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.8293, allocations: 337.9 kB / 0.8243 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.8311, allocations: 0.5445 MB / 0.8249 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.8333, allocations: 1.055 MB / 0.8259 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.837, allocations: 1.34 MB / 0.8272 GB, free: 108 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.837, allocations: 3.984 kB / 0.8272 GB, free: 104 kB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004619/0.8416, allocations: 1.507 MB / 0.8287 GB, free: 14.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.8417, allocations: 8 kB / 0.8287 GB, free: 14.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.8417, allocations: 8 kB / 0.8287 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.054e-05/0.8417, allocations: 12 kB / 0.8287 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.8433, allocations: 300.1 kB / 0.829 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.8433, allocations: 15.94 kB / 0.829 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8448, allocations: 175.3 kB / 0.8292 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.8449, allocations: 55.97 kB / 0.8292 GB, free: 14.02 MB / 0.67 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.000675/0.8456, allocations: 335.2 kB / 0.8296 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.846, allocations: 131.1 kB / 0.8297 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.8504, allocations: 1.456 MB / 0.8311 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.8504, allocations: 8.094 kB / 0.8311 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.8504, allocations: 7.938 kB / 0.8311 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.8504, allocations: 7.984 kB / 0.8311 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/0.8572, allocations: 2.627 MB / 0.8337 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8572, allocations: 8.094 kB / 0.8337 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.8586, allocations: 223.7 kB / 0.8339 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.8586, allocations: 15.88 kB / 0.8339 GB, free: 9.117 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.8587, allocations: 31.97 kB / 0.834 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.8587, allocations: 7.938 kB / 0.834 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.8587, allocations: 4 kB / 0.834 GB, free: 9.074 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006271/0.865, allocations: 2.306 MB / 0.8362 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/0.8656, allocations: 218.9 kB / 0.8364 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.8659, allocations: 27.94 kB / 0.8365 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.8671, allocations: 111.9 kB / 0.8366 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.8673, allocations: 64.44 kB / 0.8366 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.8674, allocations: 39.97 kB / 0.8367 GB, free: 6.254 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001168/0.8685, allocations: 0.7466 MB / 0.8374 GB, free: 5.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8685, allocations: 4 kB / 0.8374 GB, free: 5.496 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001329/0.8699, allocations: 347.4 kB / 0.8377 GB, free: 5.156 MB / 0.67 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.001995/0.8719, allocations: 0.5283 MB / 0.8382 GB, free: 4.828 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.8759, allocations: 1.285 MB / 0.8395 GB, free: 3.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8759, allocations: 7.938 kB / 0.8395 GB, free: 3.535 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.8779, allocations: 0.6331 MB / 0.8401 GB, free: 2.902 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.8804, allocations: 465.1 kB / 0.8406 GB, free: 2.453 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/0.8865, allocations: 2.63 MB / 0.8431 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009031/0.8875, allocations: 0.594 MB / 0.8437 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001333/0.8888, allocations: 308.2 kB / 0.844 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.8892, allocations: 104.5 kB / 0.8441 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of SimCode: time 1.452e-06/0.8892, allocations: 0 / 0.8441 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of Templates: time 0.03692/0.9261, allocations: 19.47 MB / 0.8631 GB, free: 11.6 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.909685752936639] Failed to read output from testmodel.py, exit status != 0: 0.9352480589877814 0.951637408 0.16603927299999996 Calling exit ...