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.0009682/0.0009682, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009528/0.0009528, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9444/0.9444, allocations: 230.6 MB / 256 MB, free: 9.594 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.7862/0.7862, allocations: 203.5 MB / 0.5039 GB, free: 10.72 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.0009195/0.0009195, allocations: 72.67 kB / 0.7178 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4971, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002538/0.4996, allocations: 0.998 MB / 0.8184 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.5008, allocations: 1.023 MB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.5009, allocations: 6.969 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.5011, allocations: 19.36 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.5011, allocations: 23.77 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.5015, allocations: 78.39 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.5017, allocations: 177 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.5019, allocations: 58.47 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.502, allocations: 79.39 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.5022, allocations: 67.58 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.5022, allocations: 17.16 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.5022, allocations: 16.92 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.5023, allocations: 44.78 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.5023, allocations: 61.2 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.5026, allocations: 192.4 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5026, allocations: 0 / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5026, allocations: 0 / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5027, allocations: 4 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.0006923/0.5033, allocations: 433.2 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5034, allocations: 8.734 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.5034, allocations: 47.64 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.5035, allocations: 22.05 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.5038, allocations: 162.4 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5038, allocations: 16.47 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.5038, allocations: 16.56 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.5041, allocations: 175.3 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5041, allocations: 0 / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5041, allocations: 6.625 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5041, allocations: 7.25 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.5043, allocations: 113.6 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/0.5051, allocations: 487.3 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.5054, allocations: 134.2 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.5055, allocations: 77 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.5056, allocations: 7.922 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.5057, allocations: 145.8 kB / 0.822 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.472e-06/0.5057, allocations: 1.062 kB / 0.822 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.000398/0.5061, allocations: 225.9 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.5062, allocations: 54.56 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.5063, allocations: 156.8 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.5063, allocations: 33.05 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.5064, allocations: 123.6 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.5064, allocations: 72.36 kB / 0.8226 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.5065, allocations: 43.92 kB / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.5066, allocations: 324.4 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.5067, allocations: 64.06 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.5068, allocations: 88.48 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.5071, allocations: 148.3 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5071, allocations: 0 / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003086/0.5074, allocations: 215.4 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5074, allocations: 5.125 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5074, allocations: 1.188 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5074, allocations: 1.281 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.5075, allocations: 38.94 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5075, allocations: 5.312 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.5076, allocations: 28.59 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.5076, allocations: 5 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 8.834e-05/0.5077, allocations: 132.8 kB / 0.8237 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.5077, allocations: 14.59 kB / 0.8237 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.508, allocations: 187.6 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.508, allocations: 7.5 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.508, allocations: 3.938 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.508, allocations: 1.219 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.5086, allocations: 0.5419 MB / 0.8244 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5086, allocations: 2.156 kB / 0.8244 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.948e-05/0.5087, allocations: 41.94 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5087, allocations: 6.656 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.5087, allocations: 6.562 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5087, allocations: 7.281 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5087, allocations: 2.812 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.5091, allocations: 378.3 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.5091, allocations: 23.16 kB / 0.8249 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.5092, allocations: 8.453 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.5092, allocations: 17.39 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.5093, allocations: 25.05 kB / 0.8249 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5093, allocations: 7.703 kB / 0.8249 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.811e-05/0.5094, allocations: 118.1 kB / 0.825 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5094, allocations: 0 / 0.825 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001938/0.5096, allocations: 36.27 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.0005893/0.5102, allocations: 0.9222 MB / 0.826 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.5104, allocations: 148.8 kB / 0.8261 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5105, allocations: 1.188 kB / 0.8261 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.5106, allocations: 86.27 kB / 0.8262 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5108, allocations: 28.66 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.002026/0.5128, allocations: 2.126 MB / 0.8283 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.5129, allocations: 115.9 kB / 0.8284 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.225e-05/0.513, allocations: 18.34 kB / 0.8284 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.5131, allocations: 51.34 kB / 0.8285 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.5131, allocations: 1.625 kB / 0.8285 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.535, allocations: 4.26 MB / 0.8326 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.536, allocations: 1.125 kB / 0.8326 GB, free: 8.328 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.512544477824122] Failed to read output from testmodel.py, exit status != 0: 7.619343944825232 7.630712154 7.125943783 Calling exit ...