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: 101.5 kB / 18.95 MB, free: 1.184 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.001233/0.001233, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9505/0.9505, allocations: 230.6 MB / 256 MB, free: 9.594 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.7859/0.7859, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009175/0.0009175, allocations: 71.64 kB / 0.7181 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5854, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001421/0.5868, allocations: 0.6039 MB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.5875, allocations: 0.8545 MB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.5875, allocations: 0 / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.5875, allocations: 4 kB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.746e-05/0.5876, allocations: 3.938 kB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.5878, allocations: 15.16 kB / 0.8192 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.5879, allocations: 29.77 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.588, allocations: 5.609 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.588, allocations: 8.344 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.5881, allocations: 17.12 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.5881, allocations: 0 / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.5881, allocations: 3.281 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.5881, allocations: 5.219 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.5881, allocations: 15.64 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.5882, allocations: 34.88 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5882, allocations: 3.531 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5882, allocations: 0 / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5883, allocations: 0 / 0.8193 GB, free: 15.94 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.0003741/0.5886, allocations: 259.3 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5887, allocations: 7.688 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.5887, allocations: 31.45 kB / 0.8196 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.5887, allocations: 2.406 kB / 0.8196 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.5888, allocations: 114 kB / 0.8197 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.5889, allocations: 5.469 kB / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.5889, allocations: 1.5 kB / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.589, allocations: 55.38 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.589, allocations: 3.938 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.589, allocations: 0 / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.589, allocations: 0.5625 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.5892, allocations: 40.41 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.5895, allocations: 216.1 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.5896, allocations: 45.62 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.5896, allocations: 28.05 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.5896, allocations: 0 / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5897, allocations: 31.27 kB / 0.8201 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5897, allocations: 0 / 0.8201 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003216/0.59, allocations: 92.78 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.59, allocations: 51.41 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.5901, allocations: 100 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.5901, allocations: 27.98 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.5901, allocations: 81.64 kB / 0.8205 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5902, allocations: 5.047 kB / 0.8205 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.5902, allocations: 21.12 kB / 0.8205 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.5903, allocations: 315.1 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.5903, allocations: 20.84 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.5904, allocations: 20.02 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.994e-05/0.5905, allocations: 48.02 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5905, allocations: 3.938 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001203/0.5906, allocations: 68.55 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5906, allocations: 6.219 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5906, allocations: 0 / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5906, allocations: 5.156 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.5907, allocations: 9.172 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5907, allocations: 1.5 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.5907, allocations: 9.062 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.5907, allocations: 1.953 kB / 0.821 GB, free: 14.39 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 6.257e-05/0.5908, allocations: 122.1 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.5908, allocations: 0 / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.5908, allocations: 11.27 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5908, allocations: 0.5156 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5908, allocations: 4 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.5908, allocations: 192 / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.5909, allocations: 132.4 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5909, allocations: 3.938 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.591, allocations: 11.55 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.591, allocations: 3.984 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.591, allocations: 0.6094 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.591, allocations: 0 / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.591, allocations: 1 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.5912, allocations: 171.6 kB / 0.8214 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.5912, allocations: 0.6094 kB / 0.8214 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.5912, allocations: 4.062 kB / 0.8214 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.5912, allocations: 5.891 kB / 0.8214 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5913, allocations: 6.906 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.5913, allocations: 0.75 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.5913, allocations: 80.16 kB / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5913, allocations: 0 / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001424/0.5915, allocations: 10.03 kB / 0.8215 GB, free: 13.86 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.0004254/0.5919, allocations: 0.7071 MB / 0.8222 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.5921, allocations: 36.08 kB / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5921, allocations: 2.219 kB / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.5921, allocations: 26.48 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.5924, allocations: 10.16 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.5928, allocations: 135.8 kB / 0.8224 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.5928, allocations: 63.12 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.5928, allocations: 4.172 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.5929, allocations: 10.72 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5929, allocations: 0 / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.608, allocations: 1.995 MB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/7.355, allocations: 12.03 kB / 0.8245 GB, free: 12.06 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.404378765728325] Failed to read output from testmodel.py, exit status != 0: 7.4400304071605206 7.453942942 6.863552895 Calling exit ...