Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007722/0.0007722, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008599/0.0008599, allocations: 166 kB / 22.43 MB, free: 2.141 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.8523/0.8523, 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.6937/0.6937, allocations: 154.7 MB / 413.9 MB, free: 0.75 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.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_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.0008753/0.0008753, allocations: 73.11 kB / 0.6184 GB, free: 13.55 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.4131/0.4139, allocations: 101.9 MB / 0.7179 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001527/0.4155, allocations: 0.84 MB / 0.7188 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.4162, allocations: 0.913 MB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.4163, allocations: 2.312 kB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.4164, allocations: 14.06 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.4164, allocations: 9.281 kB / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.4166, allocations: 63.33 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.4168, allocations: 146.5 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.417, allocations: 46.72 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.4171, allocations: 78.19 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.4172, allocations: 55.42 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.4172, allocations: 16.55 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.005e-05/0.4172, allocations: 16.97 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.4172, allocations: 30.31 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.4173, allocations: 49.7 kB / 0.7202 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.4175, allocations: 157.2 kB / 0.7203 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4175, allocations: 1.984 kB / 0.7203 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4175, allocations: 0 / 0.7203 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4175, allocations: 0 / 0.7203 GB, free: 21.81 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.0004565/0.4179, allocations: 371.7 kB / 0.7207 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.418, allocations: 12.78 kB / 0.7207 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.418, allocations: 46.59 kB / 0.7207 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.418, allocations: 20.5 kB / 0.7207 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.4182, allocations: 154.3 kB / 0.7209 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4183, allocations: 12.89 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4183, allocations: 13.62 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.4186, allocations: 219.5 kB / 0.7211 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4186, allocations: 4.641 kB / 0.7211 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4186, allocations: 9.438 kB / 0.7211 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.4186, allocations: 4.344 kB / 0.7211 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.4188, allocations: 131.2 kB / 0.7213 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.4193, allocations: 436.5 kB / 0.7217 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4195, allocations: 86.69 kB / 0.7218 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.4195, allocations: 44.95 kB / 0.7218 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4196, allocations: 1.406 kB / 0.7218 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.4196, allocations: 40.72 kB / 0.7219 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4196, allocations: 1.406 kB / 0.7219 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003283/0.4199, allocations: 153.2 kB / 0.722 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.4199, allocations: 52.59 kB / 0.722 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4201, allocations: 193.9 kB / 0.7222 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4201, allocations: 30.95 kB / 0.7223 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.4202, allocations: 117.3 kB / 0.7224 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4202, allocations: 35.27 kB / 0.7224 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.4202, allocations: 28.55 kB / 0.7224 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.4203, allocations: 326.7 kB / 0.7227 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.4203, allocations: 42.14 kB / 0.7228 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.4204, allocations: 37.19 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.4206, allocations: 94.59 kB / 0.7229 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4206, allocations: 13 kB / 0.7229 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002141/0.4208, allocations: 147.8 kB / 0.7231 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4208, allocations: 5.781 kB / 0.7231 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.4208, allocations: 0 / 0.7231 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4208, allocations: 2.047 kB / 0.7231 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4209, allocations: 27.67 kB / 0.7231 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4209, allocations: 1.062 kB / 0.7231 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.421, allocations: 20.75 kB / 0.7231 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.421, allocations: 7.188 kB / 0.7231 GB, free: 19.66 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 5.713e-05/0.421, allocations: 129.1 kB / 0.7233 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.4211, allocations: 15.47 kB / 0.7233 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4213, allocations: 137.7 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4213, allocations: 5.031 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4213, allocations: 1.25 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4213, allocations: 1.125 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.4216, allocations: 413.6 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4216, allocations: 1.375 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.4217, allocations: 25.86 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4217, allocations: 1.188 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4217, allocations: 2.844 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4217, allocations: 2.094 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4217, allocations: 1.406 kB / 0.7238 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4219, allocations: 247.6 kB / 0.7241 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.4219, allocations: 18.48 kB / 0.7241 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4219, allocations: 1.766 kB / 0.7241 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.422, allocations: 19.14 kB / 0.7241 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.422, allocations: 12.12 kB / 0.7241 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.4221, allocations: 2.906 kB / 0.7241 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.437e-05/0.4221, allocations: 151.7 kB / 0.7243 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4221, allocations: 0 / 0.7243 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001573/0.4223, allocations: 19.12 kB / 0.7243 GB, free: 18.77 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.0003087/0.4226, allocations: 0.7758 MB / 0.725 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.4228, allocations: 92.52 kB / 0.7251 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4228, allocations: 1.25 kB / 0.7251 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.4229, allocations: 49.88 kB / 0.7252 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.4231, allocations: 20.17 kB / 0.7252 GB, free: 18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4245, allocations: 1.882 MB / 0.727 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.553e-05/0.4245, allocations: 98.25 kB / 0.7271 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.4246, allocations: 17.73 kB / 0.7271 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.4246, allocations: 39.44 kB / 0.7272 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.4246, allocations: 0 / 0.7272 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.4413, allocations: 3.542 MB / 0.7306 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/7.074, allocations: 9.203 kB / 0.7306 GB, free: 15.41 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.714263685047626] Failed to read output from testmodel.py, exit status != 0: 7.15321659098845 7.161887656 6.742716877 Calling exit ...