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.001185/0.001185, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.0009548/0.0009548, allocations: 217.8 kB / 22.25 MB, free: 3.703 MB / 13.93 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.9792/0.9792, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.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.8046/0.8046, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [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: 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.001119/0.001119, allocations: 79.23 kB / 0.7183 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5535, allocations: 102 MB / 0.8179 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001537/0.555, allocations: 0.613 MB / 0.8185 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007427/0.5558, allocations: 0.8481 MB / 0.8193 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.5558, allocations: 3.938 kB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.5559, allocations: 1.531 kB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.5559, allocations: 8.719 kB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.5561, allocations: 8.391 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.5562, allocations: 20.31 kB / 0.8194 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.5562, allocations: 5.453 kB / 0.8194 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.5564, allocations: 17.41 kB / 0.8194 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.5565, allocations: 15.12 kB / 0.8194 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.5565, allocations: 5.594 kB / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.125e-05/0.5565, allocations: 7.156 kB / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.5565, allocations: 0.8438 kB / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.5566, allocations: 8.688 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.5567, allocations: 26.53 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5567, allocations: 0 / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5567, allocations: 0 / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.5567, allocations: 0 / 0.8194 GB, free: 204 kB / 0.6042 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.0003637/0.5571, allocations: 250.9 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5571, allocations: 11.92 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.5571, allocations: 33.25 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.5573, allocations: 18.34 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5574, allocations: 105.1 kB / 0.8198 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.5575, allocations: 384 / 0.8198 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.5575, allocations: 2.344 kB / 0.8198 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5576, allocations: 33.97 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5576, allocations: 7.875 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.5576, allocations: 5.031 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5576, allocations: 4.844 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.5577, allocations: 17.05 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.5578, allocations: 123.9 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.5579, allocations: 24.38 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.5579, allocations: 11.62 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.5579, allocations: 0 / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.5579, allocations: 43.69 kB / 0.8201 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.5579, allocations: 0 / 0.8201 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.5581, allocations: 58.11 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.5581, allocations: 51.41 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.5582, allocations: 103 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.5582, allocations: 25.7 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.5582, allocations: 84.77 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.5583, allocations: 13.48 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.5583, allocations: 10.52 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.5584, allocations: 317.3 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.5584, allocations: 8.547 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.5584, allocations: 2.844 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.5585, allocations: 25.38 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5585, allocations: 6.438 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.593e-05/0.5586, allocations: 44.75 kB / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5586, allocations: 7.156 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5586, allocations: 0.6562 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5586, allocations: 0 / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.5587, allocations: 4.969 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5587, allocations: 0.6562 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.5587, allocations: 4.547 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.5587, allocations: 4.703 kB / 0.8208 GB, free: 14.75 MB / 0.6198 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 5.796e-05/0.5588, allocations: 114.5 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.5588, allocations: 5.594 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.5588, allocations: 7.766 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5588, allocations: 0 / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5588, allocations: 5.125 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.5588, allocations: 3.938 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.986e-05/0.5589, allocations: 127.9 kB / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.5589, allocations: 0 / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.5589, allocations: 3.938 kB / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5589, allocations: 11.88 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.5589, allocations: 0 / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.5589, allocations: 1.438 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.5589, allocations: 0 / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.559, allocations: 74.23 kB / 0.8212 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.559, allocations: 0.6562 kB / 0.8212 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.559, allocations: 4.688 kB / 0.8212 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.559, allocations: 8.375 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.559, allocations: 0.8906 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.559, allocations: 0.5625 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.5591, allocations: 84.67 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5591, allocations: 0 / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001198/0.5592, allocations: 4.5 kB / 0.8213 GB, free: 14.29 MB / 0.6198 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.0002825/0.5595, allocations: 0.6068 MB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.5596, allocations: 17.34 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5596, allocations: 0 / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.5596, allocations: 5.797 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.5597, allocations: 9.969 kB / 0.8219 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.56, allocations: 140.5 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.5602, allocations: 0.6735 MB / 0.8227 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.5602, allocations: 3.594 kB / 0.8227 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.5603, allocations: 8.141 kB / 0.8227 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5603, allocations: 0 / 0.8227 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.578, allocations: 1.216 MB / 0.8239 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.302/6.88, allocations: 7.141 kB / 0.8239 GB, free: 12.41 MB / 0.6198 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.97348950104788] Failed to read output from testmodel.py, exit status != 0: 6.957947354996577 6.973761505 6.413937111 Calling exit ...