Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.001353/0.001353, 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.00156/0.00156, 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.9376/0.9376, 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.7317/0.7317, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.632e-05, allocations: 5.453 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001131/0.001148, allocations: 0.6516 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.001865, allocations: 0.8354 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.001895, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.001919, allocations: 11.94 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.001969, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.002141, allocations: 23.84 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.947e-05/0.002201, allocations: 19.94 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.002284, allocations: 7.984 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.002343, allocations: 8 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.002373, allocations: 11.92 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.002385, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.002422, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.002435, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.002451, allocations: 7.984 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.00254, allocations: 31.89 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002542, allocations: 3.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002543, allocations: 0 / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002547, allocations: 0 / 0.6197 GB, free: 11.98 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.0003339/0.002881, allocations: 262.3 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.002914, allocations: 8.031 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.002938, allocations: 30.75 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.003004, allocations: 8.891 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.241e-05/0.003076, allocations: 113.8 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.003085, allocations: 4.375 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.003092, allocations: 384 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.003218, allocations: 54.17 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.003226, allocations: 4.172 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003234, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003239, allocations: 4.125 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.003323, allocations: 31.97 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.003573, allocations: 212.1 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.003647, allocations: 42.5 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.003694, allocations: 20.91 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.003711, allocations: 3.984 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.003729, allocations: 34.5 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.00373, allocations: 0 / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.003938, allocations: 85.69 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.003963, allocations: 55.44 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.004013, allocations: 97.86 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.004022, allocations: 25.7 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.004051, allocations: 88.08 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.004065, allocations: 3.953 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.004089, allocations: 21.7 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.004158, allocations: 310.8 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.004198, allocations: 15.98 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.004233, allocations: 19.98 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.004306, allocations: 36.81 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.004307, allocations: 0 / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.688e-05/0.004404, allocations: 69.59 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.004414, allocations: 7.938 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004417, allocations: 4 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.004428, allocations: 4.094 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.00448, allocations: 11.94 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.004485, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.004507, allocations: 7.984 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.004512, allocations: 4 kB / 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 4.572e-05/0.004558, allocations: 106.8 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.00457, allocations: 7.875 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.004699, allocations: 84.91 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.0047, allocations: 0 / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.004704, allocations: 0 / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004706, allocations: 0 / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.278e-05/0.004799, allocations: 124.7 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.004802, allocations: 7.984 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.004824, allocations: 8 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.004827, allocations: 3.938 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.004832, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004832, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.004834, allocations: 3.938 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.004949, allocations: 167.5 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.004955, allocations: 7.922 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.004964, allocations: 0 / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.005, allocations: 4 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.005027, allocations: 7.984 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.00503, allocations: 4 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.005053, allocations: 75.47 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005053, allocations: 4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001424/0.005195, allocations: 4.031 kB / 0.622 GB, free: 9.426 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.0002728/0.005468, allocations: 0.6967 MB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.005597, allocations: 35.95 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005599, allocations: 0 / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.005648, allocations: 24.08 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.005844, allocations: 6.031 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.006143, allocations: 130.5 kB / 0.6228 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.006183, allocations: 67.27 kB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.585e-05/0.006199, allocations: 0 / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.006233, allocations: 16.64 kB / 0.6229 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.006234, allocations: 0 / 0.6229 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02139, allocations: 1.935 MB / 0.6248 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.033, allocations: 8.062 kB / 0.6248 GB, free: 6.562 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.888327708467841] Failed to read output from testmodel.py, exit status != 0: 7.114369848743081 7.1227187 7.118541788 Calling exit ...