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.001134/0.001134, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001424/0.001424, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9863/0.9863, allocations: 230.6 MB / 256 MB, free: 9.828 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.8186/0.8186, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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.001658/0.001658, allocations: 61.91 kB / 0.7183 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5919, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00175/0.5937, allocations: 0.6648 MB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.5946, allocations: 0.8633 MB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.5947, allocations: 0 / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.5947, allocations: 4.781 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.5948, allocations: 2.969 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.5951, allocations: 13.03 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.5952, allocations: 18.95 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.5953, allocations: 9.672 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.5954, allocations: 16.38 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.5954, allocations: 13.2 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.5954, allocations: 1.844 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.5955, allocations: 9.734 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.5955, allocations: 0.5625 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.5955, allocations: 11.22 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.5957, allocations: 35.56 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5957, allocations: 3.469 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5957, allocations: 0 / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5957, allocations: 0 / 0.8195 GB, free: 120 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004188/0.5961, allocations: 265.9 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5962, allocations: 10.03 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.5962, allocations: 31.78 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.5963, allocations: 3.406 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.5964, allocations: 110.3 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.5964, allocations: 384 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.5964, allocations: 2.25 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.5966, allocations: 53.03 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5966, allocations: 7.938 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.5966, allocations: 0 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5966, allocations: 1.844 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.5967, allocations: 31.62 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.597, allocations: 214.1 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5972, allocations: 47.62 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.5972, allocations: 26.17 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.5973, allocations: 0 / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5973, allocations: 31.27 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.5973, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002951/0.5976, allocations: 83.19 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.5976, allocations: 51.97 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.598, allocations: 96.45 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.598, allocations: 32.83 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.5981, allocations: 80.94 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.5981, allocations: 10.77 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.5982, allocations: 16.12 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.5983, allocations: 322.4 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.5983, allocations: 17.09 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.5983, allocations: 19.11 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.5984, allocations: 36.77 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5984, allocations: 3.938 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000124/0.5986, allocations: 70.53 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5986, allocations: 9.125 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5986, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5986, allocations: 192 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.5987, allocations: 13.72 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5987, allocations: 1.219 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.5987, allocations: 10.67 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5987, allocations: 3.984 kB / 0.8212 GB, free: 14.56 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.535e-05/0.5988, allocations: 119.8 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.5988, allocations: 1.828 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.599, allocations: 72.69 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.599, allocations: 0.7031 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.599, allocations: 4 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.599, allocations: 0 / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5991, allocations: 129.9 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5991, allocations: 4.094 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.5992, allocations: 15.91 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5992, allocations: 0 / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.5992, allocations: 0 / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5992, allocations: 4.594 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5992, allocations: 0 / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.5993, allocations: 164 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.5993, allocations: 3.953 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.5993, allocations: 1.641 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.5994, allocations: 10.25 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.5994, allocations: 3.594 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.5994, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.5995, allocations: 81.16 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5995, allocations: 0 / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001447/0.5996, allocations: 3.938 kB / 0.8218 GB, free: 14 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.0003823/0.6, allocations: 0.7035 MB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.6002, allocations: 38.88 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6002, allocations: 0 / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.6002, allocations: 18.11 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.6005, allocations: 6.781 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.6009, allocations: 140.3 kB / 0.8226 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.6012, allocations: 0.6791 MB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.6012, allocations: 4.125 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.6012, allocations: 8.188 kB / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.6012, allocations: 0 / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.6181, allocations: 1.383 MB / 0.8247 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/7.177, allocations: 3.812 kB / 0.8247 GB, free: 12.02 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.325418242951855] Failed to read output from testmodel.py, exit status != 0: 7.25424386607483 7.27119976 6.67185026 Calling exit ...