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.0008554/0.0008554, 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.0008605/0.0008605, allocations: 213.8 kB / 22.26 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.9755/0.9755, allocations: 230.6 MB / 256 MB, free: 9.824 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.7925/0.7925, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.00121/0.00121, allocations: 69.27 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5784, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001472/0.5799, allocations: 0.6221 MB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.5806, allocations: 0.855 MB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.5807, allocations: 3.938 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.5807, allocations: 0 / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.5808, allocations: 7.938 kB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.5809, allocations: 15.11 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.581, allocations: 27.7 kB / 0.8193 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.5811, allocations: 7.188 kB / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.5811, allocations: 9.641 kB / 0.8193 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.5812, allocations: 16.64 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.5812, allocations: 3 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-06/0.5812, allocations: 0 / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.5812, allocations: 7.375 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.5813, allocations: 11.36 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.5814, allocations: 28.64 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.5814, allocations: 5.031 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.876e-06/0.5814, allocations: 0 / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5814, allocations: 0 / 0.8194 GB, free: 168 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.0003614/0.5818, allocations: 259.4 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5818, allocations: 10.69 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.5818, allocations: 35.3 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.5819, allocations: 2.297 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.582, allocations: 114.4 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.582, allocations: 12.88 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.5822, allocations: 2.75 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5824, allocations: 50.66 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.5824, allocations: 3.938 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5824, allocations: 3.531 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5824, allocations: 0 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.5825, allocations: 32.53 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.5828, allocations: 229.4 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.5829, allocations: 41.64 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.583, allocations: 23.73 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.583, allocations: 0 / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.583, allocations: 39.22 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.583, allocations: 0 / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.5832, allocations: 88 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5833, allocations: 51.97 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.5833, allocations: 97.59 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.5833, allocations: 25.7 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.5834, allocations: 89.41 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.5834, allocations: 7.953 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.5834, allocations: 10.94 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.5835, allocations: 318.9 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.5835, allocations: 15.3 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.5836, allocations: 22.36 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.77e-05/0.5837, allocations: 43.38 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5837, allocations: 3.938 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.5838, allocations: 74.03 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5838, allocations: 4.844 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5838, allocations: 0 / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5838, allocations: 3.688 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.5839, allocations: 6.5 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.5839, allocations: 5.641 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.5839, allocations: 16.92 kB / 0.8211 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.5839, allocations: 0 / 0.8211 GB, free: 14.6 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.122e-05/0.584, allocations: 111.1 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.584, allocations: 1.938 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.584, allocations: 12.2 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.584, allocations: 192 / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.584, allocations: 1.938 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.584, allocations: 8.594 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.5841, allocations: 134.8 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5841, allocations: 0 / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.5842, allocations: 7.062 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.5842, allocations: 3.938 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5842, allocations: 0.75 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5842, allocations: 7.719 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5842, allocations: 0 / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.5843, allocations: 167.5 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.5844, allocations: 4.453 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.5844, allocations: 0.5156 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.5844, allocations: 5.328 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.5845, allocations: 6.906 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.5845, allocations: 3.047 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.5845, allocations: 78.64 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5845, allocations: 4.031 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001363/0.5846, allocations: 3.844 kB / 0.8216 GB, free: 14.07 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.0003699/0.585, allocations: 0.7036 MB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.5851, allocations: 40.92 kB / 0.8223 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5851, allocations: 2.719 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.5852, allocations: 26.19 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.5854, allocations: 3.625 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.5858, allocations: 139.9 kB / 0.8225 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.586, allocations: 0.679 MB / 0.8232 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.586, allocations: 0.6562 kB / 0.8232 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.5861, allocations: 16.62 kB / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5861, allocations: 0 / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.6029, allocations: 1.565 MB / 0.8247 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/7.163, allocations: 5.969 kB / 0.8247 GB, free: 12.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.204673828091472] Failed to read output from testmodel.py, exit status != 0: 7.2405916878487915 7.254758492 6.671033585 Calling exit ...