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.0008783/0.0008783, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.001303/0.001303, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9833/0.9833, allocations: 230.6 MB / 256 MB, free: 9.609 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.8012/0.8012, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [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.001282/0.001282, allocations: 70.69 kB / 0.7178 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5558, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001686/0.5575, allocations: 1.001 MB / 0.8184 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.5585, allocations: 1.029 MB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.5586, allocations: 2.875 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.5588, allocations: 21.09 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.5588, allocations: 19.02 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.5591, allocations: 77.14 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.5593, allocations: 175.6 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.5595, allocations: 60.06 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.5596, allocations: 73.19 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.5597, allocations: 75.52 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.5597, allocations: 16.62 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.183e-05/0.5597, allocations: 20.03 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.5598, allocations: 39.53 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.5598, allocations: 66.23 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.5601, allocations: 191.3 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5601, allocations: 0 / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5601, allocations: 3.938 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5601, allocations: 0.8438 kB / 0.8202 GB, free: 15.42 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.0005923/0.5607, allocations: 431.3 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5607, allocations: 12.06 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.5607, allocations: 53.47 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.103e-05/0.5608, allocations: 19.05 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5611, allocations: 161.4 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5611, allocations: 15.72 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.5611, allocations: 14.41 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.5614, allocations: 179.9 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5614, allocations: 0 / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5614, allocations: 4.75 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5614, allocations: 11.64 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.5616, allocations: 111.6 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.5623, allocations: 480.9 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.5626, allocations: 133.1 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5627, allocations: 79.42 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.5627, allocations: 6.422 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.5629, allocations: 138.5 kB / 0.822 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.5629, allocations: 4 kB / 0.822 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0004088/0.5633, allocations: 222.8 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5634, allocations: 61.56 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5635, allocations: 158.8 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.5635, allocations: 31.23 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.5636, allocations: 120 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.5636, allocations: 69.11 kB / 0.8226 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.5637, allocations: 42.62 kB / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.5637, allocations: 331.2 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.5639, allocations: 63.98 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.564, allocations: 87.23 kB / 0.8231 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.5642, allocations: 146.4 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5642, allocations: 0 / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002894/0.5645, allocations: 216.7 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5645, allocations: 7.016 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5645, allocations: 0 / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5645, allocations: 1.25 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5646, allocations: 44.84 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5646, allocations: 1.625 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.5647, allocations: 28.02 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.5647, allocations: 9.312 kB / 0.8236 GB, free: 13.07 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.95e-05/0.5648, allocations: 133.5 kB / 0.8237 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.5648, allocations: 19 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.5651, allocations: 186.6 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5651, allocations: 2.75 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5651, allocations: 0.5625 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5651, allocations: 0.75 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.5659, allocations: 0.5395 MB / 0.8244 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5659, allocations: 1.188 kB / 0.8244 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.566, allocations: 40.84 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.566, allocations: 7.359 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.566, allocations: 3.719 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.566, allocations: 7.344 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.566, allocations: 2.656 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.5664, allocations: 381.7 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.5665, allocations: 19.98 kB / 0.8249 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5665, allocations: 7.812 kB / 0.8249 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.5666, allocations: 17.09 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.5666, allocations: 22.17 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5666, allocations: 11.42 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.5667, allocations: 117 kB / 0.825 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5667, allocations: 0 / 0.825 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001821/0.5669, allocations: 37.02 kB / 0.8251 GB, free: 12.02 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 0.0005782/0.5675, allocations: 0.9212 MB / 0.826 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.5677, allocations: 152.9 kB / 0.8261 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5677, allocations: 1.094 kB / 0.8261 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.5678, allocations: 84.58 kB / 0.8262 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.5681, allocations: 33.33 kB / 0.8262 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.57, allocations: 2.124 MB / 0.8283 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.5701, allocations: 115.1 kB / 0.8284 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.5702, allocations: 23.33 kB / 0.8284 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.5702, allocations: 55.92 kB / 0.8285 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.5702, allocations: 0 / 0.8285 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.5927, allocations: 4.253 MB / 0.8326 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.654, allocations: 11.72 kB / 0.8326 GB, free: 8.324 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.660296095069498] Failed to read output from testmodel.py, exit status != 0: 7.733870150987059 7.749717711 7.18729906 Calling exit ...