Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008659/0.0008659, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.001003/0.001003, allocations: 162.3 kB / 22.43 MB, free: 2.145 MB / 18.57 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.9/0.9, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.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.7074/0.7074, allocations: 154.7 MB / 413.9 MB, free: 0.7305 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_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.0009873/0.0009873, allocations: 67.66 kB / 0.6184 GB, free: 13.51 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4303, allocations: 102 MB / 0.7179 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001367/0.4317, allocations: 0.6459 MB / 0.7186 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.4325, allocations: 0.8748 MB / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.4325, allocations: 0.9062 kB / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.4326, allocations: 4.594 kB / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.859e-05/0.4326, allocations: 5.125 kB / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.4328, allocations: 9.656 kB / 0.7195 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.4329, allocations: 28.14 kB / 0.7195 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.433, allocations: 7.688 kB / 0.7195 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.433, allocations: 18.81 kB / 0.7195 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.4331, allocations: 9.75 kB / 0.7195 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.4331, allocations: 2.281 kB / 0.7195 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.4331, allocations: 2.75 kB / 0.7195 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.4331, allocations: 4.75 kB / 0.7195 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.4331, allocations: 6.953 kB / 0.7195 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.4332, allocations: 30.14 kB / 0.7196 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4332, allocations: 0 / 0.7196 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4332, allocations: 0.5625 kB / 0.7196 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4332, allocations: 5.344 kB / 0.7196 GB, free: 22.05 MB / 0.6355 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.0003119/0.4335, allocations: 262.5 kB / 0.7198 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4336, allocations: 9.375 kB / 0.7198 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.124e-05/0.4336, allocations: 31.36 kB / 0.7199 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.4336, allocations: 6.828 kB / 0.7199 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.413e-05/0.4337, allocations: 106 kB / 0.72 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4337, allocations: 5.5 kB / 0.72 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.4337, allocations: 6 kB / 0.72 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.4338, allocations: 44.56 kB / 0.72 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4338, allocations: 8.906 kB / 0.72 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.4338, allocations: 4 kB / 0.72 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4338, allocations: 2.062 kB / 0.72 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.4339, allocations: 31.95 kB / 0.7201 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.4342, allocations: 210.5 kB / 0.7203 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.4343, allocations: 40.47 kB / 0.7203 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.4343, allocations: 27.61 kB / 0.7203 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.4343, allocations: 0 / 0.7203 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4343, allocations: 33.58 kB / 0.7204 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.4343, allocations: 0 / 0.7204 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002195/0.4346, allocations: 79.17 kB / 0.7204 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.4346, allocations: 57.41 kB / 0.7205 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.597e-05/0.4346, allocations: 102 kB / 0.7206 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.4346, allocations: 25.83 kB / 0.7206 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.4347, allocations: 90.22 kB / 0.7207 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4347, allocations: 3.203 kB / 0.7207 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.4347, allocations: 19.69 kB / 0.7207 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.863e-05/0.4347, allocations: 312.9 kB / 0.721 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.4348, allocations: 15.08 kB / 0.721 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.4348, allocations: 17.94 kB / 0.721 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.4349, allocations: 41.89 kB / 0.7211 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4349, allocations: 3.938 kB / 0.7211 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.435, allocations: 67.91 kB / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.435, allocations: 8.781 kB / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.435, allocations: 0.6562 kB / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.435, allocations: 0 / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.4351, allocations: 9.844 kB / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4351, allocations: 0 / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.4351, allocations: 10.89 kB / 0.7212 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4351, allocations: 0 / 0.7212 GB, free: 20.51 MB / 0.6355 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 3.77e-05/0.4352, allocations: 121.2 kB / 0.7213 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.4352, allocations: 2 kB / 0.7213 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.4352, allocations: 9.078 kB / 0.7213 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4352, allocations: 0.9844 kB / 0.7213 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4352, allocations: 4.781 kB / 0.7213 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4352, allocations: 3.984 kB / 0.7213 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.57e-05/0.4353, allocations: 133.5 kB / 0.7214 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4353, allocations: 0 / 0.7214 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.4353, allocations: 12.62 kB / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4353, allocations: 0.6094 kB / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4353, allocations: 1.344 kB / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4353, allocations: 0.6094 kB / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4353, allocations: 0 / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.4355, allocations: 168 kB / 0.7216 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.4355, allocations: 9.562 kB / 0.7216 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.4355, allocations: 1.641 kB / 0.7216 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.4355, allocations: 9.703 kB / 0.7216 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4356, allocations: 2.734 kB / 0.7216 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4356, allocations: 5.125 kB / 0.7217 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.594e-05/0.4356, allocations: 80.33 kB / 0.7217 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4356, allocations: 0 / 0.7217 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001359/0.4357, allocations: 3.406 kB / 0.7217 GB, free: 19.97 MB / 0.6355 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.0002251/0.4359, allocations: 0.697 MB / 0.7224 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.4361, allocations: 38.52 kB / 0.7224 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4361, allocations: 0 / 0.7224 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.4361, allocations: 19.77 kB / 0.7225 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.4363, allocations: 6.578 kB / 0.7225 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.4367, allocations: 135.6 kB / 0.7226 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.4367, allocations: 63.88 kB / 0.7227 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.4367, allocations: 1.25 kB / 0.7227 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.4367, allocations: 14.94 kB / 0.7227 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.4367, allocations: 0 / 0.7227 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.4529, allocations: 1.91 MB / 0.7245 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.433/6.886, allocations: 4.969 kB / 0.7245 GB, free: 18.16 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.668847918976098] Failed to read output from testmodel.py, exit status != 0: 6.9614537039306015 6.97299829 6.537733124 Calling exit ...