Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008509/0.0008509, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001026/0.001026, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.977/0.977, allocations: 230.6 MB / 256 MB, free: 9.812 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.8288/0.8288, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_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.0009958/0.0009958, allocations: 73.83 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5519, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001812/0.5537, allocations: 1.08 MB / 0.819 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000987/0.5547, allocations: 1.04 MB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.5548, allocations: 7.938 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.5549, allocations: 19.27 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.555, allocations: 22.81 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.5553, allocations: 76.86 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.5554, allocations: 171.6 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.5556, allocations: 68.08 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.5557, allocations: 75.11 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.5558, allocations: 76.64 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.5558, allocations: 14.91 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.5559, allocations: 26.14 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.5559, allocations: 41.95 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.556, allocations: 74.17 kB / 0.8206 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.5563, allocations: 187 kB / 0.8208 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5563, allocations: 3.938 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5563, allocations: 2.688 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5563, allocations: 4 kB / 0.8208 GB, free: 15.32 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.0006542/0.5569, allocations: 425 kB / 0.8212 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.557, allocations: 9.688 kB / 0.8212 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.557, allocations: 52 kB / 0.8213 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.5571, allocations: 29.86 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.5573, allocations: 168.1 kB / 0.8215 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5574, allocations: 18.27 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.5574, allocations: 13.94 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.5576, allocations: 145.5 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.5576, allocations: 1.156 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5577, allocations: 5.25 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.5577, allocations: 6.578 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.5578, allocations: 115.2 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.5587, allocations: 0.4975 MB / 0.8222 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.559, allocations: 139.4 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.5591, allocations: 75.48 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.5592, allocations: 12.44 kB / 0.8225 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5593, allocations: 118.8 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.5593, allocations: 0 / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.000395/0.5597, allocations: 221.7 kB / 0.8228 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.5598, allocations: 59.03 kB / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.5599, allocations: 155.6 kB / 0.823 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5599, allocations: 30.83 kB / 0.823 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.56, allocations: 124.6 kB / 0.8231 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.5603, allocations: 64.58 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.5603, allocations: 39.56 kB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.5604, allocations: 327.7 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5606, allocations: 65.44 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.5607, allocations: 90.69 kB / 0.8237 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.5609, allocations: 145.6 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5609, allocations: 0 / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000333/0.5612, allocations: 221.7 kB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5613, allocations: 6.562 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5613, allocations: 5.594 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5613, allocations: 1.5 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5614, allocations: 35.58 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5614, allocations: 5.719 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.5615, allocations: 26.84 kB / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.5615, allocations: 6 kB / 0.8241 GB, free: 13.02 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 8.592e-05/0.5616, allocations: 128.5 kB / 0.8243 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.5616, allocations: 19.7 kB / 0.8243 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.5619, allocations: 195.4 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5619, allocations: 6.422 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5619, allocations: 0.75 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5619, allocations: 0.7031 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.5625, allocations: 0.5605 MB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5625, allocations: 1.312 kB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5626, allocations: 32.67 kB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5626, allocations: 6.531 kB / 0.8251 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5626, allocations: 12.92 kB / 0.8251 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5626, allocations: 7.219 kB / 0.8251 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5626, allocations: 1.438 kB / 0.8251 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.5631, allocations: 387.8 kB / 0.8254 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.5631, allocations: 18.52 kB / 0.8255 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5631, allocations: 9.094 kB / 0.8255 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.5632, allocations: 16.77 kB / 0.8255 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.5632, allocations: 25.66 kB / 0.8255 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.5632, allocations: 6.703 kB / 0.8255 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.507e-05/0.5633, allocations: 119.6 kB / 0.8256 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5633, allocations: 0 / 0.8256 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000183/0.5635, allocations: 35.83 kB / 0.8257 GB, free: 11.95 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.0005922/0.5641, allocations: 0.9225 MB / 0.8266 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.5644, allocations: 147.8 kB / 0.8267 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5644, allocations: 0 / 0.8267 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.5645, allocations: 85.27 kB / 0.8268 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5648, allocations: 33.84 kB / 0.8268 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5671, allocations: 2.121 MB / 0.8289 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.5674, allocations: 0.7258 MB / 0.8296 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.089e-05/0.5675, allocations: 19.09 kB / 0.8296 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.5676, allocations: 51.53 kB / 0.8297 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.5676, allocations: 1.156 kB / 0.8297 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.5972, allocations: 3.837 MB / 0.8334 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/7.255, allocations: 4.375 kB / 0.8334 GB, free: 8.125 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.381181407952681] Failed to read output from testmodel.py, exit status != 0: 7.334378084167838 7.344288404 6.785744107 Calling exit ...