Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0007715/0.0007715, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008383/0.0008383, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9273/0.9273, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7322/0.7322, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.489e-06/4.489e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.849e-05, allocations: 13.17 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001392/0.001421, allocations: 0.6381 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.002301, allocations: 0.8509 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.002335, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.002365, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.002432, allocations: 7.875 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.002647, allocations: 11.98 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.002732, allocations: 23.92 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.002854, allocations: 8 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.002934, allocations: 15.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.002971, allocations: 11.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.00299, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.003043, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.003057, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.003081, allocations: 8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003202, allocations: 39.81 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.003206, allocations: 0 / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.234e-06/0.003208, allocations: 0 / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.003214, allocations: 0 / 0.6197 GB, free: 11.97 MB / 0.5886 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.0004007/0.003615, allocations: 262.3 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.003666, allocations: 12.03 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.003697, allocations: 30.75 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.003763, allocations: 4.891 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.003856, allocations: 109.8 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.003875, allocations: 384 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.003889, allocations: 8.359 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.004034, allocations: 46.23 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004041, allocations: 192 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004049, allocations: 4.375 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.004056, allocations: 8.125 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.004143, allocations: 27.97 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.004434, allocations: 220 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.004516, allocations: 34.56 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.004567, allocations: 20.91 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.004593, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.00462, allocations: 46.48 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.004621, allocations: 0 / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002596/0.004881, allocations: 81.55 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.004919, allocations: 55.41 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.004981, allocations: 97.84 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.004991, allocations: 25.7 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.005291, allocations: 84.14 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.00531, allocations: 12.02 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.005334, allocations: 21.64 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.005404, allocations: 314.8 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.005447, allocations: 15.98 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.005483, allocations: 15.98 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.777e-05/0.005561, allocations: 44.75 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005563, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.005673, allocations: 73.61 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.005686, allocations: 4 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.0057, allocations: 0 / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.005714, allocations: 3.984 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.005783, allocations: 8 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.005788, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.00581, allocations: 7.984 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005815, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 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.776e-05/0.005873, allocations: 114.9 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.005886, allocations: 7.938 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.006024, allocations: 72.86 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006026, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.006031, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006035, allocations: 7.984 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.926e-05/0.006134, allocations: 120.8 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.006136, allocations: 4 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.006162, allocations: 12.02 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006164, allocations: 3.938 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.00617, allocations: 4 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006172, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006173, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.006304, allocations: 163.5 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.006311, allocations: 3.938 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006323, allocations: 4 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.006358, allocations: 8.016 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.006392, allocations: 8.125 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.006396, allocations: 3.984 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.006424, allocations: 87.27 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006424, allocations: 0 / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001401/0.006564, allocations: 4 kB / 0.622 GB, free: 9.418 MB / 0.5886 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.0003368/0.006901, allocations: 0.6929 MB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.007033, allocations: 43.95 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007035, allocations: 3.938 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.007072, allocations: 11.98 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.00732, allocations: 6.031 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.007667, allocations: 134.5 kB / 0.6228 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.007711, allocations: 67.45 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.007731, allocations: 4 kB / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.007767, allocations: 12.44 kB / 0.6229 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of SimCode: time 4.2e-07/0.007767, allocations: 0 / 0.6229 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.0243, allocations: 1.934 MB / 0.6248 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.801, allocations: 10.23 kB / 0.6248 GB, free: 6.555 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log_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_Log.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.665062659420073] Failed to read output from testmodel.py, exit status != 0: 6.880983699113131 6.894493152 6.889107467 Calling exit ...