Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0009021/0.0009021, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008294/0.0008294, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9368/0.9368, allocations: 177.1 MB / 202.8 MB, free: 5.734 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7436/0.7436, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.Cos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.134e-05, allocations: 5.672 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001434/0.001455, allocations: 0.6505 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.002264, allocations: 0.8471 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.002294, allocations: 0 / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.00232, allocations: 3.938 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.002376, allocations: 3.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.002562, allocations: 11.98 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.002627, allocations: 27.91 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.002717, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/0.002788, allocations: 15.98 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.002823, allocations: 7.938 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.002838, allocations: 7.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.002883, allocations: 4 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.002903, allocations: 11.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.00292, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003038, allocations: 31.89 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.003042, allocations: 3.984 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/0.003044, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.003048, allocations: 0 / 0.6197 GB, free: 12.04 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.0004041/0.003452, allocations: 262.3 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.003497, allocations: 9.469 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.003531, allocations: 34.75 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.003609, allocations: 8.891 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.003697, allocations: 101.8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.003711, allocations: 12.36 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.003719, allocations: 384 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.003867, allocations: 50.23 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.003877, allocations: 192 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003888, allocations: 384 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.003894, allocations: 4.125 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.00399, allocations: 43.89 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.004303, allocations: 208.1 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.004403, allocations: 34.55 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.004451, allocations: 20.91 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.004471, allocations: 4 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.004494, allocations: 42.38 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.004496, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002483/0.004745, allocations: 89.59 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.004779, allocations: 51.41 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.00485, allocations: 101.8 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.004862, allocations: 25.7 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.0049, allocations: 88.08 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.004918, allocations: 3.953 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.004948, allocations: 17.72 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.005037, allocations: 310.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.005085, allocations: 20.09 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.005124, allocations: 19.98 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.869e-05/0.005203, allocations: 36.77 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.005205, allocations: 0 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001008/0.005306, allocations: 69.69 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.005318, allocations: 8 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.005329, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00534, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.005405, allocations: 7.984 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.00541, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.005432, allocations: 7.938 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005437, allocations: 0 / 0.6213 GB, free: 10.18 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.842e-05/0.005495, allocations: 118.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.005508, allocations: 3.938 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.005648, allocations: 80.91 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.00565, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005654, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005657, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.005759, allocations: 120.8 kB / 0.6216 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005761, allocations: 4 kB / 0.6216 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.005787, allocations: 11.98 kB / 0.6216 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.00579, allocations: 3.938 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.005797, allocations: 8.031 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005799, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0058, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.005929, allocations: 163.4 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.005937, allocations: 7.938 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.005948, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.005985, allocations: 8.172 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.006015, allocations: 0 / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006018, allocations: 4.016 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.006044, allocations: 87.28 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006044, allocations: 3.938 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001468/0.006191, allocations: 4 kB / 0.6219 GB, free: 9.484 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.0005692/0.00676, allocations: 0.6968 MB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.006892, allocations: 39.94 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.006894, allocations: 0 / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.006934, allocations: 19.97 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.0072, allocations: 10.19 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.007572, allocations: 129.7 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.007618, allocations: 63.33 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.007642, allocations: 4 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.007683, allocations: 16.62 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.007684, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.02338, allocations: 1.933 MB / 0.6248 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/6.867, allocations: 3.562 kB / 0.6248 GB, free: 6.633 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos_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_Cos.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.757146949879825] Failed to read output from testmodel.py, exit status != 0: 6.948916312307119 6.9578757 6.953033838 Calling exit ...