Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.0007891/0.0007891, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001256/0.001256, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.031/1.031, allocations: 230.6 MB / 256 MB, free: 9.613 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.805/0.805, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",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.0009192/0.0009192, allocations: 70.61 kB / 0.7183 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.5219, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001384/0.5232, allocations: 0.6612 MB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.5239, allocations: 0.875 MB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.5239, allocations: 0 / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.5239, allocations: 7.938 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.524, allocations: 1.469 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.5241, allocations: 17.28 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.5242, allocations: 24.91 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.5243, allocations: 3.781 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.5244, allocations: 12.25 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/0.5244, allocations: 14.19 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.5244, allocations: 1.812 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.5244, allocations: 1.094 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.5244, allocations: 6.812 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.5245, allocations: 15.3 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.932e-05/0.5245, allocations: 28.03 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5245, allocations: 0 / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5245, allocations: 0 / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5245, allocations: 1.156 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003376/0.5249, allocations: 257.2 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5249, allocations: 11.48 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.5249, allocations: 31.41 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.525, allocations: 7.531 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.452e-05/0.525, allocations: 115.7 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.5251, allocations: 1.562 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.5251, allocations: 2.75 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5252, allocations: 48.42 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5252, allocations: 7.875 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.5252, allocations: 2.625 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.5252, allocations: 0 / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.5253, allocations: 39.53 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.5256, allocations: 212.5 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.5256, allocations: 40.73 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.5257, allocations: 28.33 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5257, allocations: 0.7969 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.5257, allocations: 38.5 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.5257, allocations: 0 / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000202/0.5259, allocations: 76.77 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5259, allocations: 55.97 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.526, allocations: 95.12 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.526, allocations: 33.14 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.526, allocations: 84.94 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.5261, allocations: 3.953 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.5261, allocations: 12.95 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.5262, allocations: 317.3 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.5262, allocations: 13.44 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.5262, allocations: 19 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.5263, allocations: 45.27 kB / 0.8211 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5263, allocations: 3.938 kB / 0.8211 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.438e-05/0.5264, allocations: 71.25 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5264, allocations: 5.656 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5264, allocations: 0 / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5264, allocations: 6.094 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.5265, allocations: 9.891 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5265, allocations: 0.75 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.5265, allocations: 7.672 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.5265, allocations: 1.531 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.212e-05/0.5266, allocations: 117.5 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.5266, allocations: 0.9375 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.5266, allocations: 11.27 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5266, allocations: 5.562 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5266, allocations: 0 / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5266, allocations: 2.047 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.5267, allocations: 131.2 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5267, allocations: 4 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.5267, allocations: 8.844 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.62e-07/0.5268, allocations: 0 / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.5268, allocations: 0.5 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5268, allocations: 2.078 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.5268, allocations: 0 / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.5269, allocations: 167 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.5269, allocations: 9.516 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.5269, allocations: 0.75 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.5269, allocations: 6.891 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.5271, allocations: 5.547 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.5271, allocations: 3.062 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.5272, allocations: 86.12 kB / 0.8217 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5272, allocations: 0 / 0.8217 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001391/0.5273, allocations: 4.312 kB / 0.8217 GB, free: 14.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003062/0.5276, allocations: 0.6908 MB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.5277, allocations: 37.06 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5277, allocations: 3.938 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.134e-05/0.5278, allocations: 14.41 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.528, allocations: 6.906 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.5283, allocations: 137.3 kB / 0.8226 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.5285, allocations: 0.6789 MB / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.5285, allocations: 1.672 kB / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.5285, allocations: 11.3 kB / 0.8232 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5285, allocations: 0 / 0.8232 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.5419, allocations: 1.387 MB / 0.8246 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.45/6.992, allocations: 8.297 kB / 0.8246 GB, free: 12.04 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.080736520001665] Failed to read output from testmodel.py, exit status != 0: 7.0681246349122375 7.078753717 6.552187228 Calling exit ...