Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.0007649/0.0007649, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 13.93 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.0008017/0.0008017, allocations: 210.9 kB / 23 MB, free: 2.973 MB / 13.93 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 0.9913/0.9913, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8468/0.8468, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [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.001043/0.001043, allocations: 63.53 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5644, allocations: 102 MB / 0.8191 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2005/0.7649, allocations: 214.7 MB / 1.029 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.7763, allocations: 8.072 MB / 1.037 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.7777, allocations: 95.12 kB / 1.037 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.7797, allocations: 1.045 MB / 1.038 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.7853, allocations: 3.22 MB / 1.041 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006446/0.7918, allocations: 3.537 MB / 1.044 GB, free: 14.25 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004071/0.7958, allocations: 3.964 MB / 1.048 GB, free: 10.27 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.7971, allocations: 1.088 MB / 1.049 GB, free: 9.148 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.8007, allocations: 2.332 MB / 1.052 GB, free: 6.809 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.8021, allocations: 1.373 MB / 1.053 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.8022, allocations: 128 kB / 1.053 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.807, allocations: 3.183 MB / 1.056 GB, free: 2.113 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.8075, allocations: 0.619 MB / 1.057 GB, free: 1.492 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007977/0.8083, allocations: 0.8163 MB / 1.057 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.8137, allocations: 3.749 MB / 1.061 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.8137, allocations: 0 / 1.061 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.817e-06/0.8137, allocations: 0 / 1.061 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.595e-05/0.8138, allocations: 0 / 1.061 GB, free: 12.91 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004353/0.8181, allocations: 2.647 MB / 1.064 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.8182, allocations: 8.031 kB / 1.064 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.8222, allocations: 1.134 MB / 1.065 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.8239, allocations: 1.158 MB / 1.066 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.8239, allocations: 102.5 kB / 1.066 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.8241, allocations: 135.9 kB / 1.066 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.8266, allocations: 1.963 MB / 1.068 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.8266, allocations: 3.938 kB / 1.068 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.536e-05/0.8267, allocations: 56 kB / 1.068 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.8268, allocations: 62.34 kB / 1.068 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.8295, allocations: 1.898 MB / 1.07 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/0.8356, allocations: 6.537 MB / 1.076 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.8378, allocations: 1.46 MB / 1.078 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.8389, allocations: 0.761 MB / 1.079 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.8395, allocations: 200.8 kB / 1.079 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.8407, allocations: 0.8793 MB / 1.08 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 3.597e-06/0.8407, allocations: 0 / 1.08 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.003642/0.8443, allocations: 2.385 MB / 1.082 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.8444, allocations: 72.33 kB / 1.082 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.8455, allocations: 1.417 MB / 1.083 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.8456, allocations: 49.7 kB / 1.084 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.846, allocations: 0.862 MB / 1.084 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.8463, allocations: 388.7 kB / 1.085 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.8465, allocations: 238.8 kB / 1.085 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8466, allocations: 349.9 kB / 1.085 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.8477, allocations: 0.6778 MB / 1.086 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.849, allocations: 1.287 MB / 1.087 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.8511, allocations: 1.722 MB / 1.089 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.8511, allocations: 11.94 kB / 1.089 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002553/0.8537, allocations: 1.913 MB / 1.091 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.8537, allocations: 12.94 kB / 1.091 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8537, allocations: 12 kB / 1.091 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.8537, allocations: 19.98 kB / 1.091 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.8546, allocations: 359.4 kB / 1.091 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.8546, allocations: 19.94 kB / 1.091 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.8554, allocations: 223 kB / 1.091 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.8555, allocations: 67.95 kB / 1.091 GB, free: 12.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0004699/0.856, allocations: 407.2 kB / 1.092 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.8561, allocations: 170.9 kB / 1.092 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.8587, allocations: 1.853 MB / 1.094 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.8588, allocations: 8 kB / 1.094 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.8588, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8588, allocations: 3.984 kB / 1.094 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/0.8632, allocations: 3.734 MB / 1.097 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.8632, allocations: 8.875 kB / 1.097 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.8639, allocations: 279.6 kB / 1.098 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.8639, allocations: 12.09 kB / 1.098 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.864, allocations: 43.91 kB / 1.098 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.864, allocations: 19.92 kB / 1.098 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/0.864, allocations: 15.88 kB / 1.098 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.8678, allocations: 2.952 MB / 1.101 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.8682, allocations: 294.5 kB / 1.101 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.8683, allocations: 36 kB / 1.101 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.8689, allocations: 119.9 kB / 1.101 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.869, allocations: 100.6 kB / 1.101 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.8691, allocations: 47.97 kB / 1.101 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008233/0.8699, allocations: 0.9525 MB / 1.102 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8699, allocations: 0 / 1.102 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001096/0.871, allocations: 0.4952 MB / 1.103 GB, free: 1.211 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (112): * Single equations (assignments): 106 * 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.001186/0.8722, allocations: 0.6 MB / 1.103 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.8746, allocations: 1.615 MB / 1.105 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.8746, allocations: 7.938 kB / 1.105 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.8758, allocations: 0.7958 MB / 1.106 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.8774, allocations: 0.689 MB / 1.106 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.8815, allocations: 3.487 MB / 1.11 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.882, allocations: 0.7977 MB / 1.111 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.8824, allocations: 147.4 kB / 1.111 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of SimCode: time 1.332e-06/0.8824, allocations: 4 kB / 1.111 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of Templates: time 0.02933/0.9117, allocations: 27.48 MB / 1.138 GB, free: 13.85 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.720661479048431] Failed to read output from testmodel.py, exit status != 0: 0.9190763253718615 1.265522407 0.11583275300000001 Calling exit ...