Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.001506/0.001506, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001849/0.001849, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.334/1.334, allocations: 203.5 MB / 0.5038 GB, free: 4.91 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [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.002806/0.002806, allocations: 73.92 kB / 0.7183 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.727, allocations: 102 MB / 0.8179 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002668/0.7297, allocations: 1.006 MB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.7316, allocations: 1.023 MB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.7318, allocations: 3.469 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.7319, allocations: 20.45 kB / 0.8199 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.732, allocations: 19.84 kB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.7324, allocations: 79.17 kB / 0.82 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.7327, allocations: 179.7 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.7329, allocations: 56.25 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.733, allocations: 73.41 kB / 0.8203 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.7332, allocations: 75.72 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.7332, allocations: 16.16 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.7333, allocations: 21.72 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.7333, allocations: 41.36 kB / 0.8204 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.7334, allocations: 66.27 kB / 0.8205 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.7338, allocations: 187.5 kB / 0.8207 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.7338, allocations: 0.5156 kB / 0.8207 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7338, allocations: 0 / 0.8207 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.7338, allocations: 5 kB / 0.8207 GB, free: 27.32 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009243/0.7347, allocations: 432.7 kB / 0.8211 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7348, allocations: 10.33 kB / 0.8211 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.7349, allocations: 20.81 kB / 0.8211 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.7352, allocations: 167.2 kB / 0.8213 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.7353, allocations: 12.72 kB / 0.8213 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.7353, allocations: 14.31 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.7357, allocations: 181.9 kB / 0.8215 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7357, allocations: 1.188 kB / 0.8215 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.7357, allocations: 7.328 kB / 0.8215 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.7357, allocations: 3.25 kB / 0.8215 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.7361, allocations: 111.2 kB / 0.8216 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.7373, allocations: 437.7 kB / 0.822 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.7378, allocations: 135.5 kB / 0.8222 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.738, allocations: 78.11 kB / 0.8222 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.738, allocations: 3.922 kB / 0.8222 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.7383, allocations: 150.3 kB / 0.8224 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/0.7383, allocations: 0 / 0.8224 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.000614/0.7389, allocations: 229 kB / 0.8226 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.7389, allocations: 57 kB / 0.8226 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.739, allocations: 142.6 kB / 0.8228 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7391, allocations: 31.2 kB / 0.8228 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.7391, allocations: 116.4 kB / 0.8229 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.7392, allocations: 69.61 kB / 0.823 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.7393, allocations: 43.08 kB / 0.823 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.7394, allocations: 323.8 kB / 0.8233 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.7396, allocations: 65.78 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.7398, allocations: 89.25 kB / 0.8235 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.7401, allocations: 144.8 kB / 0.8236 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7402, allocations: 7.875 kB / 0.8236 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005074/0.7407, allocations: 210.4 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7407, allocations: 5.719 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7407, allocations: 0 / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7407, allocations: 1.594 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.7409, allocations: 45.86 kB / 0.8239 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7409, allocations: 1.656 kB / 0.8239 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.7411, allocations: 26.52 kB / 0.8239 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.7411, allocations: 8.781 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001168/0.7412, allocations: 130.5 kB / 0.824 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.7412, allocations: 14.84 kB / 0.8241 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.7417, allocations: 193 kB / 0.8242 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.7417, allocations: 6.562 kB / 0.8242 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7417, allocations: 0 / 0.8242 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.7417, allocations: 1.359 kB / 0.8242 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.7425, allocations: 0.5026 MB / 0.8247 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7425, allocations: 6.125 kB / 0.8247 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.7427, allocations: 37.12 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.7427, allocations: 3.25 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.7427, allocations: 15.7 kB / 0.8248 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.7427, allocations: 2.469 kB / 0.8248 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7427, allocations: 2.141 kB / 0.8248 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.7433, allocations: 384.9 kB / 0.8252 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.7434, allocations: 17.97 kB / 0.8252 GB, free: 24.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.7434, allocations: 9.078 kB / 0.8252 GB, free: 24.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.7435, allocations: 16.78 kB / 0.8252 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.7436, allocations: 23.16 kB / 0.8252 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.7436, allocations: 10.38 kB / 0.8252 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.7437, allocations: 109.6 kB / 0.8253 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.7437, allocations: 0 / 0.8253 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002938/0.744, allocations: 40.47 kB / 0.8254 GB, free: 24.08 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001518/0.7442, allocations: 109 kB / 0.8255 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.7446, allocations: 146.9 kB / 0.8256 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7446, allocations: 5.406 kB / 0.8256 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.7448, allocations: 82.59 kB / 0.8257 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.7452, allocations: 35.05 kB / 0.8257 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.7459, allocations: 379.4 kB / 0.8261 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.746, allocations: 115.2 kB / 0.8262 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.495e-05/0.7461, allocations: 14.94 kB / 0.8262 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.7462, allocations: 22.22 kB / 0.8263 GB, free: 23.51 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.7462, allocations: 0 / 0.8263 GB, free: 23.51 MB / 0.6387 GB Notification: Performance of Templates: time 0.006548/0.7527, allocations: 1.85 MB / 0.8281 GB, free: 23.31 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.070636188611388] Failed to read output from testmodel.py, exit status != 0: 0.7628246117383242 0.775933113 0.038853806000000005 Calling exit ...