Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.0007915/0.0007915, 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.0008464/0.0008464, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.826/0.826, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",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.001043/0.001043, allocations: 69.08 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5757, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001594/0.5773, allocations: 0.7488 MB / 0.8181 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.578, allocations: 0.881 MB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.578, allocations: 0 / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.5781, allocations: 6.078 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.5782, allocations: 10.62 kB / 0.819 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.5784, allocations: 42.3 kB / 0.819 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.5785, allocations: 89.06 kB / 0.8191 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.5786, allocations: 20.42 kB / 0.8191 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.5787, allocations: 40.14 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.5788, allocations: 51.38 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.5788, allocations: 9.281 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.5788, allocations: 8.156 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.5788, allocations: 16.67 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.5789, allocations: 32.48 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.579, allocations: 85.8 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.579, allocations: 0 / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.579, allocations: 0 / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.579, allocations: 0 / 0.8194 GB, free: 15.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005216/0.5795, allocations: 322.4 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5796, allocations: 10.7 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.5796, allocations: 38.05 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.5797, allocations: 9.297 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5798, allocations: 121.9 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5798, allocations: 7.531 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5798, allocations: 7.406 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.58, allocations: 105 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.58, allocations: 7.984 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5801, allocations: 5.953 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.5801, allocations: 1.469 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.5803, allocations: 92.69 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.5808, allocations: 301.4 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5812, allocations: 126.7 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.5813, allocations: 61.27 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5813, allocations: 3.938 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5813, allocations: 31.17 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5813, allocations: 0 / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004295/0.5818, allocations: 182.9 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.5818, allocations: 55.53 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.5819, allocations: 121 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.5819, allocations: 30.36 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.5819, allocations: 94.36 kB / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.582, allocations: 24.03 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.582, allocations: 27.81 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.5821, allocations: 318.7 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5822, allocations: 47.67 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.5823, allocations: 49.7 kB / 0.8215 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.5825, allocations: 94.75 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5825, allocations: 1.062 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002354/0.5827, allocations: 134.6 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5827, allocations: 5.219 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5827, allocations: 0.75 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5828, allocations: 0.7188 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.5828, allocations: 28.31 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5828, allocations: 7.875 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.5829, allocations: 17.66 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.5829, allocations: 7.25 kB / 0.8218 GB, free: 14.09 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.155e-05/0.583, allocations: 114.5 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.583, allocations: 6.922 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.583, allocations: 11.67 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.583, allocations: 0 / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.583, allocations: 7.875 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.583, allocations: 3.078 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.5832, allocations: 159 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5832, allocations: 0 / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.5832, allocations: 28.05 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5832, allocations: 1.312 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5833, allocations: 1.922 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5833, allocations: 0.5625 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5833, allocations: 4.969 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.5835, allocations: 233.5 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.5835, allocations: 14.53 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.5836, allocations: 0.7969 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.5836, allocations: 12.19 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.5837, allocations: 27.81 kB / 0.8224 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5837, allocations: 5.016 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.5837, allocations: 94.72 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5837, allocations: 0 / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001502/0.5839, allocations: 19.66 kB / 0.8225 GB, free: 13.51 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004584/0.5843, allocations: 0.7703 MB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.5846, allocations: 103.6 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5846, allocations: 0 / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.5847, allocations: 68.31 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5849, allocations: 12.22 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.5863, allocations: 1.531 MB / 0.8249 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.5864, allocations: 79.27 kB / 0.825 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.5864, allocations: 9.75 kB / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.5865, allocations: 31.55 kB / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5865, allocations: 0 / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.6031, allocations: 3.343 MB / 0.8283 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/8.158, allocations: 1.953 kB / 0.8283 GB, free: 10.45 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.26713010109961] Failed to read output from testmodel.py, exit status != 0: 8.236200871877372 8.248946667 7.667675183 Calling exit ...