Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001228/0.001228, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001118/0.001118, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9675/0.9675, allocations: 230.6 MB / 256 MB, free: 9.605 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.7785/0.7785, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.0009304/0.0009304, allocations: 70.36 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4636, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001357/0.465, allocations: 0.6534 MB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005954/0.4656, allocations: 0.8484 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.4656, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.4657, allocations: 4.547 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.4657, allocations: 6.094 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.4659, allocations: 11.02 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.4659, allocations: 28.61 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.466, allocations: 7.453 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.4661, allocations: 4.594 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.4661, allocations: 13.16 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.4661, allocations: 2.188 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.4662, allocations: 14.64 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.4662, allocations: 9.203 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.4662, allocations: 5.453 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.941e-05/0.4663, allocations: 33.03 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4663, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4663, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4663, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 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.0004546/0.4668, allocations: 265.7 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.4668, allocations: 8.75 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.4669, allocations: 35.27 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.467, allocations: 8.406 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4671, allocations: 114.1 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4671, allocations: 0.9375 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4671, allocations: 384 / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4673, allocations: 52.19 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4673, allocations: 3.938 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4673, allocations: 0 / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4673, allocations: 0.7031 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4675, allocations: 34.52 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.4679, allocations: 216.8 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.468, allocations: 43.39 kB / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.468, allocations: 22.27 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4681, allocations: 3.047 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4681, allocations: 30.56 kB / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.4681, allocations: 0 / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002777/0.4684, allocations: 84.41 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4684, allocations: 57.16 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.4685, allocations: 97.3 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.4685, allocations: 25.7 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4685, allocations: 86.36 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4686, allocations: 7.156 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.4686, allocations: 12.67 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.4687, allocations: 319.2 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.4687, allocations: 16.77 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.4688, allocations: 18.92 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.4689, allocations: 41.08 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4689, allocations: 3.938 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.469, allocations: 70.97 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.469, allocations: 12.2 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.469, allocations: 3.375 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.469, allocations: 0 / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.4691, allocations: 7.141 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4691, allocations: 0.6562 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.4692, allocations: 14.19 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.4692, allocations: 0.6094 kB / 0.8211 GB, free: 14.36 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 (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 6.35e-05/0.4692, allocations: 113.6 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.4692, allocations: 0 / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.4694, allocations: 79.67 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4694, allocations: 1.312 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4694, allocations: 3.938 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4694, allocations: 2.922 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.91e-05/0.4695, allocations: 128.5 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4695, allocations: 0.8906 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.4695, allocations: 8.422 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.4695, allocations: 0 / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4695, allocations: 8.016 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4695, allocations: 0.6094 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4696, allocations: 1.969 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4697, allocations: 162.4 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.4697, allocations: 6.641 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.4697, allocations: 1.031 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.4697, allocations: 5.781 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.4698, allocations: 3.688 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.4698, allocations: 4.969 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.4698, allocations: 83.34 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4698, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001344/0.4699, allocations: 7.625 kB / 0.8217 GB, free: 13.79 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 (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.0002971/0.4702, allocations: 0.689 MB / 0.8223 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4703, allocations: 40.11 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.4703, allocations: 0 / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.4704, allocations: 26.56 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.4706, allocations: 8.094 kB / 0.8224 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.4709, allocations: 132.2 kB / 0.8225 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.4709, allocations: 61.97 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.4709, allocations: 0.6094 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.471, allocations: 16.31 kB / 0.8226 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.471, allocations: 0 / 0.8226 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.4837, allocations: 1.804 MB / 0.8244 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.3, allocations: 6.062 kB / 0.8244 GB, free: 12.03 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin_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_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.245939258951694] Failed to read output from testmodel.py, exit status != 0: 7.377194677013904 7.392656135 6.924085806 Calling exit ...