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.0008473/0.0008473, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008882/0.0008882, allocations: 211.2 kB / 23 MB, free: 2.977 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.9202/0.9202, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7325/0.7325, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] 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.0007878/0.0007878, allocations: 65.84 kB / 0.7191 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4438, allocations: 102 MB / 0.8187 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001578/0.4453, allocations: 0.9951 MB / 0.8196 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.4461, allocations: 1.027 MB / 0.8206 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.4462, allocations: 7.156 kB / 0.8206 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.4463, allocations: 19.78 kB / 0.8207 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.4464, allocations: 14.59 kB / 0.8207 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.4466, allocations: 86.45 kB / 0.8207 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.4468, allocations: 170.1 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4469, allocations: 72.02 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.447, allocations: 70.78 kB / 0.821 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.4471, allocations: 74.39 kB / 0.8211 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4471, allocations: 15.66 kB / 0.8211 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.4472, allocations: 22.69 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.4472, allocations: 36.5 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.4472, allocations: 62.88 kB / 0.8212 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.4475, allocations: 191.9 kB / 0.8214 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4475, allocations: 0 / 0.8214 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4475, allocations: 0 / 0.8214 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4475, allocations: 0 / 0.8214 GB, free: 15.7 MB / 0.6198 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.0005921/0.4481, allocations: 436.2 kB / 0.8218 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4481, allocations: 10.72 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.4482, allocations: 19.69 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4484, allocations: 167.7 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4484, allocations: 11.56 kB / 0.822 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.4485, allocations: 15.89 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.4487, allocations: 182 kB / 0.8222 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4487, allocations: 3.281 kB / 0.8222 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4487, allocations: 4 kB / 0.8222 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4487, allocations: 3.5 kB / 0.8222 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.4489, allocations: 107.4 kB / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.4496, allocations: 448.7 kB / 0.8228 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.4498, allocations: 129.6 kB / 0.8229 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.4499, allocations: 75.48 kB / 0.823 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4499, allocations: 2.75 kB / 0.823 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.4501, allocations: 160.5 kB / 0.8231 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.4501, allocations: 0 / 0.8231 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0003684/0.4505, allocations: 219.8 kB / 0.8233 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4505, allocations: 57.61 kB / 0.8234 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.4506, allocations: 144.1 kB / 0.8235 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.4506, allocations: 33.09 kB / 0.8236 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.4507, allocations: 115.4 kB / 0.8237 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.4507, allocations: 60.28 kB / 0.8237 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.4508, allocations: 48.06 kB / 0.8238 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.4508, allocations: 327.7 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.451, allocations: 65.69 kB / 0.8242 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4511, allocations: 96.02 kB / 0.8242 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.4513, allocations: 141.8 kB / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4513, allocations: 5.312 kB / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000303/0.4516, allocations: 213.7 kB / 0.8246 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4516, allocations: 6.141 kB / 0.8246 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4516, allocations: 0 / 0.8246 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4516, allocations: 2.562 kB / 0.8246 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4517, allocations: 36.11 kB / 0.8246 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4518, allocations: 6.188 kB / 0.8246 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.4518, allocations: 30.06 kB / 0.8247 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4518, allocations: 5.062 kB / 0.8247 GB, free: 13.45 MB / 0.6198 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 7.953e-05/0.4519, allocations: 131 kB / 0.8248 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.4519, allocations: 13.95 kB / 0.8248 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4522, allocations: 190.4 kB / 0.825 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.4522, allocations: 2.875 kB / 0.825 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4522, allocations: 0 / 0.825 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4522, allocations: 5.266 kB / 0.825 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.4527, allocations: 0.51 MB / 0.8255 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4527, allocations: 6.359 kB / 0.8255 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.4528, allocations: 33.11 kB / 0.8255 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4528, allocations: 7.656 kB / 0.8255 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4528, allocations: 14.97 kB / 0.8256 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4528, allocations: 3.406 kB / 0.8256 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4528, allocations: 1.375 kB / 0.8256 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.4532, allocations: 379.6 kB / 0.8259 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.4532, allocations: 18.88 kB / 0.8259 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.4532, allocations: 12.36 kB / 0.8259 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.4533, allocations: 20.12 kB / 0.826 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.4534, allocations: 22.94 kB / 0.826 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4534, allocations: 6.484 kB / 0.826 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.4534, allocations: 109.6 kB / 0.8261 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4534, allocations: 0 / 0.8261 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001754/0.4536, allocations: 36.61 kB / 0.8261 GB, free: 12.43 MB / 0.6198 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 9.15e-05/0.4537, allocations: 108.2 kB / 0.8262 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.454, allocations: 151.8 kB / 0.8264 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.454, allocations: 0 / 0.8264 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4541, allocations: 87.69 kB / 0.8265 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.4543, allocations: 37.42 kB / 0.8265 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.4547, allocations: 407.8 kB / 0.8269 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.355e-05/0.4548, allocations: 112.3 kB / 0.827 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.4549, allocations: 22.56 kB / 0.827 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.4549, allocations: 0 / 0.827 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.002933/0.4578, allocations: 1.961 MB / 0.8289 GB, free: 11.66 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.46974211698398] Failed to read output from testmodel.py, exit status != 0: 0.4629853190854192 0.472302616 0.023042369 Calling exit ...