Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0007724/0.0007724, 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.0008679/0.0008679, allocations: 170.3 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.8695/0.8695, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7047/0.7047, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.465e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001679/0.001704, allocations: 0.5955 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008182/0.002522, allocations: 0.8354 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.002549, allocations: 4 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.002572, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.002615, allocations: 7.875 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.002779, allocations: 11.88 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.002833, allocations: 23.92 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.002869, allocations: 4 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.002991, allocations: 23.91 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.003032, allocations: 7.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.003044, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.003081, allocations: 7.984 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.00309, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.324e-05/0.003103, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.199e-05/0.003185, allocations: 23.91 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003187, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003188, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.003192, allocations: 0 / 0.6196 GB, free: 12.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002818/0.003473, allocations: 254.4 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003508, allocations: 9.469 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.003534, allocations: 34.69 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/0.003622, allocations: 12.92 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.996e-05/0.003692, allocations: 109.8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.003701, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.003707, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.003791, allocations: 42.25 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003797, allocations: 192 / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.003804, allocations: 384 / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.003809, allocations: 8.062 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.003845, allocations: 15.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.003952, allocations: 120.8 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.003994, allocations: 22.61 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.004024, allocations: 16.91 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.004036, allocations: 0 / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.004052, allocations: 34.56 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.004052, allocations: 4 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.004225, allocations: 53.58 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.004251, allocations: 59.34 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.004305, allocations: 101.8 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.004314, allocations: 25.7 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.004343, allocations: 88.12 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.004362, allocations: 0 / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.004383, allocations: 13.72 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.004451, allocations: 319 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.00447, allocations: 8 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.004485, allocations: 7.984 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.871e-05/0.004524, allocations: 24.78 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004525, allocations: 3.938 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.354e-05/0.004579, allocations: 45.69 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004591, allocations: 10.19 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.004594, allocations: 352 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.004604, allocations: 4 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.004651, allocations: 11.94 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.004655, allocations: 0 / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.004668, allocations: 3.984 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.004673, allocations: 3.938 kB / 0.621 GB, free: 10.48 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 (1): * Single equations (assignments): 1 * 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.6e-05/0.004719, allocations: 110.8 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-06/0.004723, allocations: 3.953 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.004739, allocations: 3.156 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004741, allocations: 4 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.004745, allocations: 7.938 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.004747, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.697e-05/0.004804, allocations: 124.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.004804, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.004816, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.004817, allocations: 4 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.004824, allocations: 7.922 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-07/0.004824, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.004826, allocations: 3.938 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.075e-05/0.004886, allocations: 65.12 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.004891, allocations: 8.031 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.004899, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.004908, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.004933, allocations: 11.92 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.004935, allocations: 0 / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.004959, allocations: 83.28 kB / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004959, allocations: 0 / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001115/0.00507, allocations: 4 kB / 0.6214 GB, free: 9.973 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 (1): * Single equations (assignments): 1 * 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.0002937/0.005364, allocations: 0.6086 MB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.005438, allocations: 15.98 kB / 0.622 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005439, allocations: 0 / 0.622 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.005458, allocations: 8 kB / 0.622 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.00556, allocations: 14.92 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.005816, allocations: 130.5 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.005848, allocations: 55.36 kB / 0.6222 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.005873, allocations: 8.109 kB / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.005904, allocations: 20.48 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.005905, allocations: 0 / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.01941, allocations: 1.761 MB / 0.624 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/6.973, allocations: 0.9375 kB / 0.624 GB, free: 7.41 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.666376890614629] Failed to read output from testmodel.py, exit status != 0: 7.054219959303737 7.065289214 7.059772583 Calling exit ...