Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0007737/0.0007737, 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.0007408/0.0007408, allocations: 162 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.9166/0.9166, allocations: 177.2 MB / 202.8 MB, free: 5.781 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7303/0.7303, allocations: 154.9 MB / 414.2 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",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.001009/0.001009, allocations: 70.89 kB / 0.6187 GB, free: 13.19 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4674/0.4684, allocations: 102 MB / 0.7183 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001757/0.4701, allocations: 0.8277 MB / 0.7191 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.4711, allocations: 0.9175 MB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.4712, allocations: 5.531 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.4712, allocations: 11.73 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.4713, allocations: 7.875 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.4715, allocations: 60.09 kB / 0.7201 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.4717, allocations: 155.7 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.4718, allocations: 48.81 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.4719, allocations: 73.8 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.472, allocations: 59.08 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.472, allocations: 16.78 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.4721, allocations: 13.12 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.4721, allocations: 34.22 kB / 0.7204 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.4721, allocations: 45.19 kB / 0.7205 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.4723, allocations: 157.7 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4723, allocations: 2.062 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4723, allocations: 0 / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4723, allocations: 0 / 0.7206 GB, free: 21.63 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004828/0.4728, allocations: 374.3 kB / 0.721 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4729, allocations: 10.56 kB / 0.721 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.4729, allocations: 47.09 kB / 0.721 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.4729, allocations: 17.03 kB / 0.7211 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.4732, allocations: 153.4 kB / 0.7212 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4732, allocations: 14.14 kB / 0.7212 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4732, allocations: 12.92 kB / 0.7212 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.4735, allocations: 224.2 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4735, allocations: 7.938 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4735, allocations: 10.38 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4735, allocations: 2.312 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.4737, allocations: 124.4 kB / 0.7216 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.4743, allocations: 436.8 kB / 0.722 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4745, allocations: 87.19 kB / 0.7221 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.4745, allocations: 51.34 kB / 0.7221 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4746, allocations: 7.312 kB / 0.7221 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4746, allocations: 31.84 kB / 0.7222 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.414e-06/0.4746, allocations: 1.031 kB / 0.7222 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003323/0.4749, allocations: 153.4 kB / 0.7223 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.475, allocations: 52.53 kB / 0.7224 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4751, allocations: 202.1 kB / 0.7226 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.4751, allocations: 26.86 kB / 0.7226 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.4751, allocations: 118.5 kB / 0.7227 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.4752, allocations: 34.94 kB / 0.7227 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.4752, allocations: 28.38 kB / 0.7228 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.4752, allocations: 323.3 kB / 0.7231 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.4753, allocations: 40.39 kB / 0.7231 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.4754, allocations: 47.11 kB / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.4755, allocations: 97.53 kB / 0.7232 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4755, allocations: 3.938 kB / 0.7232 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001937/0.4757, allocations: 148 kB / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4757, allocations: 7.406 kB / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4758, allocations: 0 / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4758, allocations: 1.844 kB / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4759, allocations: 24.58 kB / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4759, allocations: 0.75 kB / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.4759, allocations: 28.56 kB / 0.7234 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4759, allocations: 3.5 kB / 0.7235 GB, free: 19.48 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 (13): * Single equations (assignments): 13 * 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 6.334e-05/0.476, allocations: 129.5 kB / 0.7236 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.476, allocations: 15.53 kB / 0.7236 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.4763, allocations: 136.9 kB / 0.7237 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4763, allocations: 1.719 kB / 0.7237 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4763, allocations: 0.5625 kB / 0.7237 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4763, allocations: 2.094 kB / 0.7237 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.4766, allocations: 406.7 kB / 0.7241 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4766, allocations: 1.031 kB / 0.7241 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.4767, allocations: 31.88 kB / 0.7241 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4767, allocations: 1.156 kB / 0.7241 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4767, allocations: 2.906 kB / 0.7241 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4767, allocations: 2.281 kB / 0.7241 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4767, allocations: 1.953 kB / 0.7242 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4769, allocations: 255.2 kB / 0.7244 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.4769, allocations: 18.67 kB / 0.7244 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4769, allocations: 2.656 kB / 0.7244 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.477, allocations: 14 kB / 0.7244 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.477, allocations: 15.83 kB / 0.7244 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.477, allocations: 4.344 kB / 0.7244 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.999e-05/0.4771, allocations: 146.1 kB / 0.7246 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4771, allocations: 0 / 0.7246 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001599/0.4773, allocations: 27.22 kB / 0.7246 GB, free: 18.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0003208/0.4776, allocations: 0.7727 MB / 0.7254 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4778, allocations: 91.91 kB / 0.7255 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4778, allocations: 1 kB / 0.7255 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.4778, allocations: 48.61 kB / 0.7255 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4781, allocations: 21.38 kB / 0.7255 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.4796, allocations: 1.884 MB / 0.7274 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.4797, allocations: 95 kB / 0.7275 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.4798, allocations: 13.12 kB / 0.7275 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.4798, allocations: 44.42 kB / 0.7275 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/0.4798, allocations: 5.25 kB / 0.7275 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.4979, allocations: 3.545 MB / 0.731 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/7.248, allocations: 5.234 kB / 0.731 GB, free: 15.23 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.120112399104983] Failed to read output from testmodel.py, exit status != 0: 7.3275179989868775 7.343867714 6.86842723 Calling exit ...