Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.001003/0.001003, allocations: 105.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.00111/0.00111, allocations: 210.6 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 1.219/1.219, allocations: 230.6 MB / 256 MB, free: 9.598 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 1.017/1.017, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 178] 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.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",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.001029/0.001029, allocations: 62.31 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7291, allocations: 102 MB / 0.8174 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002153/0.7313, allocations: 0.7402 MB / 0.8181 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.7323, allocations: 0.8825 MB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.7324, allocations: 2.594 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.7324, allocations: 5.391 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.7326, allocations: 15.45 kB / 0.819 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.7328, allocations: 42.59 kB / 0.819 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.7329, allocations: 85.41 kB / 0.8191 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.7331, allocations: 22.31 kB / 0.8191 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.7332, allocations: 37.56 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.7333, allocations: 42.58 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.7334, allocations: 11.73 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.7334, allocations: 13 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.7334, allocations: 23.88 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.7335, allocations: 27 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.7336, allocations: 87.97 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.7336, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.438e-06/0.7336, allocations: 0.6562 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.7337, allocations: 1.5 kB / 0.8194 GB, free: 15.89 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.0006413/0.7343, allocations: 316.3 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.7344, allocations: 7.469 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.7344, allocations: 48.39 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.7345, allocations: 10.55 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.7346, allocations: 129.2 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.7346, allocations: 4.031 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.7347, allocations: 11.25 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.7349, allocations: 105.2 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.735, allocations: 0 / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.735, allocations: 1.891 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.735, allocations: 3.375 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.7352, allocations: 100.3 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.7358, allocations: 294 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.7363, allocations: 120.2 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.7364, allocations: 61.06 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.7364, allocations: 0 / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.7365, allocations: 41.45 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.7365, allocations: 0 / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004945/0.737, allocations: 186.2 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.737, allocations: 53.19 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.7371, allocations: 126.2 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.7371, allocations: 27.55 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.7372, allocations: 93.55 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.7372, allocations: 22.42 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.7373, allocations: 23.86 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7374, allocations: 319.9 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.7375, allocations: 43.53 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.7376, allocations: 52.53 kB / 0.8215 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.7378, allocations: 97.22 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7378, allocations: 0 / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002577/0.7381, allocations: 141.1 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7381, allocations: 7.5 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.7381, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7381, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.7382, allocations: 24.89 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.7382, allocations: 3.938 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.7383, allocations: 13.86 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.7383, allocations: 8.453 kB / 0.8218 GB, free: 14.1 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,sub.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 9.072e-05/0.7384, allocations: 116.9 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.7384, allocations: 8.328 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.7384, allocations: 15.05 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7384, allocations: 3.938 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7385, allocations: 4.688 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7385, allocations: 4 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.7386, allocations: 152.4 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7386, allocations: 5.625 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.7387, allocations: 22.92 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7387, allocations: 0 / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7387, allocations: 6.5 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7387, allocations: 1.125 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7387, allocations: 4.453 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.739, allocations: 240.6 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.739, allocations: 6.562 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.7391, allocations: 2.547 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.7391, allocations: 23.56 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.7392, allocations: 27.53 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.7392, allocations: 0.75 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.7393, allocations: 92.61 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.7393, allocations: 2.25 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001669/0.7394, allocations: 14.56 kB / 0.8225 GB, free: 13.5 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 (sub.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.0005913/0.74, allocations: 0.7676 MB / 0.8232 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.7404, allocations: 103.6 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7404, allocations: 1.062 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.7405, allocations: 61.88 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.0003185/0.7408, allocations: 19.08 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.002067/0.7429, allocations: 1.525 MB / 0.8249 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.383e-05/0.743, allocations: 83.91 kB / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.57e-05/0.743, allocations: 12.34 kB / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.7431, allocations: 31.33 kB / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.7431, allocations: 0 / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.7638, allocations: 3.349 MB / 0.8283 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.653, allocations: 10.14 kB / 0.8283 GB, free: 10.44 MB / 0.6198 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.408932229038328] Failed to read output from testmodel.py, exit status != 0: 8.735146376304328 8.756431644 8.020025061 Calling exit ...