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.0007799/0.0007799, allocations: 109.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.0008231/0.0008231, allocations: 216 kB / 22.25 MB, free: 3.578 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.9403/0.9403, allocations: 230.6 MB / 256 MB, free: 9.617 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.7761/0.7761, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0008837/0.0008837, allocations: 66.44 kB / 0.7181 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5474, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001597/0.549, allocations: 0.6102 MB / 0.8184 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006554/0.5497, allocations: 0.8452 MB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.5497, allocations: 0 / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.5497, allocations: 0 / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.5498, allocations: 4.969 kB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.55, allocations: 13.12 kB / 0.8192 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.5501, allocations: 28.34 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.5502, allocations: 17.92 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.5503, allocations: 12.81 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.5504, allocations: 14.38 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.5504, allocations: 2.375 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.5504, allocations: 2.344 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.5504, allocations: 7.906 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.5505, allocations: 9.156 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.5506, allocations: 26.25 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5506, allocations: 0 / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5506, allocations: 0 / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5506, 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.0004408/0.551, allocations: 271.7 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5511, allocations: 11.78 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.5511, allocations: 30.75 kB / 0.8196 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.5511, allocations: 2.812 kB / 0.8196 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.5512, allocations: 109.2 kB / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.5512, allocations: 5.719 kB / 0.8197 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.5512, allocations: 2.125 kB / 0.8197 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5514, allocations: 55.17 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.5514, allocations: 5.031 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.5514, allocations: 4 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5514, allocations: 0 / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.5515, allocations: 40.34 kB / 0.8198 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.5518, allocations: 212.1 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.5519, allocations: 45.58 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.5519, allocations: 25.47 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.552, allocations: 0 / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.552, allocations: 35.08 kB / 0.8201 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.552, allocations: 0.625 kB / 0.8201 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.5522, allocations: 87.72 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.5522, allocations: 54.34 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.5523, allocations: 99.89 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.5523, allocations: 25.7 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.466e-05/0.5523, allocations: 83.73 kB / 0.8205 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.5524, allocations: 8.641 kB / 0.8205 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.5524, allocations: 17.5 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.5525, allocations: 312.4 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.5525, allocations: 19.97 kB / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.5526, allocations: 16.84 kB / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.071e-05/0.5526, allocations: 40.94 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5527, allocations: 9.094 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.5528, allocations: 68.95 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5528, allocations: 8.547 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5528, allocations: 0 / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5528, allocations: 3.938 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.5529, allocations: 14.78 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5529, allocations: 0.7031 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.5529, allocations: 11.45 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5529, allocations: 5.266 kB / 0.821 GB, free: 14.37 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.223e-05/0.553, allocations: 117.8 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.553, allocations: 1.875 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.553, allocations: 8.438 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.553, allocations: 5.406 kB / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.553, allocations: 0 / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.553, allocations: 0.7031 kB / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.5531, allocations: 131.5 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5531, allocations: 0 / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.5532, allocations: 7.578 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5532, allocations: 11.03 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5532, allocations: 0.7031 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5532, allocations: 0 / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5532, allocations: 0 / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.5533, allocations: 165.5 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-06/0.5533, allocations: 1.297 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.5533, allocations: 2.188 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.5534, allocations: 11.81 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.5534, allocations: 6.891 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5534, allocations: 2.75 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.5534, allocations: 82.56 kB / 0.8215 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5534, allocations: 0 / 0.8215 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001382/0.5536, allocations: 10.06 kB / 0.8215 GB, free: 13.84 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.000331/0.5539, allocations: 0.701 MB / 0.8222 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5541, allocations: 39.34 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5541, allocations: 2.406 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.5541, allocations: 21.88 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.0002183/0.5543, allocations: 4.266 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.0003461/0.5547, allocations: 139.7 kB / 0.8224 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.5547, allocations: 57.12 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.5547, allocations: 10.17 kB / 0.8225 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.5548, allocations: 8.844 kB / 0.8225 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5548, allocations: 0 / 0.8225 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.5697, allocations: 2.008 MB / 0.8245 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.304/6.874, allocations: 7.453 kB / 0.8245 GB, free: 12.05 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: 9.80041129514575] Failed to read output from testmodel.py, exit status != 0: 6.950485788751394 6.962063633 6.409322646 Calling exit ...