Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001082/0.001082, 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.001224/0.001224, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9944/0.9944, allocations: 230.6 MB / 256 MB, free: 9.812 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.7863/0.7863, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.0009394/0.0009394, allocations: 69.2 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5774, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001508/0.5789, allocations: 0.6232 MB / 0.8184 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.5796, allocations: 0.8559 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.5797, allocations: 3.938 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.5797, allocations: 3.938 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.5798, allocations: 0.5625 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.5799, allocations: 20.25 kB / 0.8193 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/0.58, allocations: 28.91 kB / 0.8193 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.5801, allocations: 8.719 kB / 0.8193 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.5801, allocations: 9.781 kB / 0.8193 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.5802, allocations: 14.47 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.5802, allocations: 7.5 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.5802, allocations: 0 / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.5802, allocations: 12.38 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.5803, allocations: 9.766 kB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.595e-05/0.5804, allocations: 26.77 kB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5804, allocations: 0 / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5804, allocations: 0 / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.5804, allocations: 0.7031 kB / 0.8194 GB, free: 144 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.0003707/0.5807, allocations: 259.8 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5808, allocations: 11.94 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.5808, allocations: 32.98 kB / 0.8197 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.5808, allocations: 3.625 kB / 0.8197 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.5809, allocations: 118 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.581, allocations: 384 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.581, allocations: 6.406 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.5811, allocations: 50.67 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5811, allocations: 3.938 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.5811, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5811, allocations: 8.109 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5812, allocations: 32.53 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.5815, allocations: 219.1 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.5816, allocations: 47.22 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.5817, allocations: 26.17 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.5817, allocations: 0 / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5817, allocations: 38.7 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.5817, allocations: 0 / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.582, allocations: 81.33 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.582, allocations: 57.73 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.5821, allocations: 103.8 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5821, allocations: 31.08 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.5821, allocations: 80.89 kB / 0.8206 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.5821, allocations: 9.969 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.5822, allocations: 14.2 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.5822, allocations: 316 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.5823, allocations: 19.67 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.5823, allocations: 24.86 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.5824, allocations: 38.41 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5824, allocations: 3.938 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.5825, allocations: 73.95 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.5825, allocations: 11.44 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5825, allocations: 3.062 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5826, allocations: 3.938 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.5826, allocations: 9.891 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5826, allocations: 0.6094 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.5827, allocations: 9.328 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.5827, allocations: 2.781 kB / 0.8211 GB, free: 14.57 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: 1 (reaToInt.y) * 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.323e-05/0.5827, allocations: 110.5 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.5827, allocations: 6.344 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.5827, allocations: 11.92 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5828, allocations: 3.844 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5828, allocations: 0 / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5828, allocations: 0.7031 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.5829, allocations: 129.8 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.5829, allocations: 0 / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.5829, allocations: 10.94 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.5829, allocations: 0 / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5829, allocations: 0.6094 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5829, allocations: 4.844 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5829, allocations: 0 / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.5831, allocations: 171.1 kB / 0.8215 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.5831, allocations: 0.5156 kB / 0.8215 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.5831, allocations: 1.188 kB / 0.8215 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.5831, allocations: 10.81 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.5832, allocations: 7.906 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.5832, allocations: 4.25 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.5832, allocations: 79.75 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5832, allocations: 0 / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001345/0.5833, allocations: 3.875 kB / 0.8216 GB, free: 14.05 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: 1 (reaToInt.y) * 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.0003518/0.5837, allocations: 0.7023 MB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.5838, allocations: 40.33 kB / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5838, allocations: 0 / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/0.5839, allocations: 33.61 kB / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.5841, allocations: 1.406 kB / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.5844, allocations: 136.4 kB / 0.8225 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.5846, allocations: 0.6738 MB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.5847, allocations: 2.719 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.5847, allocations: 14 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5847, allocations: 8 kB / 0.8232 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.6004, allocations: 1.564 MB / 0.8247 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/7.064, allocations: 16.52 kB / 0.8247 GB, free: 12.04 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger_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_Conversions_Validation_RealToInteger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.18191833095625] Failed to read output from testmodel.py, exit status != 0: 7.140960470074788 7.156196768 6.573541091 Calling exit ...