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.001598/0.001598, allocations: 68.47 kB / 19.02 MB, free: 1.133 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.001955/0.001955, allocations: 164.3 kB / 22.29 MB, free: 3.527 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.413/1.413, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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.223/1.223, allocations: 154.7 MB / 413.8 MB, free: 3.141 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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.002104/0.002104, allocations: 69.39 kB / 0.6181 GB, free: 1.105 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2042, allocations: 102 MB / 0.7177 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002125/0.2063, allocations: 0.7486 MB / 0.7184 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2077, allocations: 0.8743 MB / 0.7192 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.2077, allocations: 0 / 0.7192 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.2078, allocations: 15.86 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.2079, allocations: 7.938 kB / 0.7193 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.208, allocations: 43.88 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2082, allocations: 87.77 kB / 0.7194 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2083, allocations: 20.2 kB / 0.7194 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2084, allocations: 47.91 kB / 0.7195 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.2085, allocations: 47.81 kB / 0.7195 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.2085, allocations: 8 kB / 0.7195 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.2086, allocations: 8 kB / 0.7195 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.2086, allocations: 19.92 kB / 0.7195 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.2086, allocations: 31.84 kB / 0.7196 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2088, allocations: 91.59 kB / 0.7197 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2088, allocations: 0 / 0.7197 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2088, allocations: 0 / 0.7197 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2088, allocations: 4 kB / 0.7197 GB, free: 9.176 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.0006898/0.2095, allocations: 326 kB / 0.72 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2095, allocations: 8.031 kB / 0.72 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.2096, allocations: 34.75 kB / 0.72 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.2096, allocations: 16.88 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2098, allocations: 114.4 kB / 0.7201 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2098, allocations: 4.375 kB / 0.7201 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2099, allocations: 11.94 kB / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.2102, allocations: 105.6 kB / 0.7203 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2102, allocations: 0 / 0.7203 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2102, allocations: 4 kB / 0.7203 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2102, allocations: 0 / 0.7203 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.2106, allocations: 107.8 kB / 0.7204 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.2112, allocations: 287.8 kB / 0.7206 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.2118, allocations: 126.5 kB / 0.7208 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.212, allocations: 48.81 kB / 0.7208 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2121, allocations: 8 kB / 0.7208 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2121, allocations: 34.5 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2121, allocations: 0 / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007396/0.2128, allocations: 189.4 kB / 0.721 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.2129, allocations: 59.28 kB / 0.7211 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.213, allocations: 124.8 kB / 0.7212 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.213, allocations: 25.7 kB / 0.7212 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.2131, allocations: 96.09 kB / 0.7213 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.2131, allocations: 23.78 kB / 0.7213 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.2132, allocations: 21.7 kB / 0.7214 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2133, allocations: 326.8 kB / 0.7217 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.2135, allocations: 43.95 kB / 0.7217 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2137, allocations: 43.95 kB / 0.7218 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.2141, allocations: 96.77 kB / 0.7218 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2141, allocations: 4 kB / 0.7218 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004545/0.2146, allocations: 138 kB / 0.722 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2146, allocations: 4 kB / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2146, allocations: 0 / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2146, allocations: 4 kB / 0.722 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.2148, allocations: 23.97 kB / 0.722 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2148, allocations: 12 kB / 0.722 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2149, allocations: 15.97 kB / 0.722 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2149, allocations: 4 kB / 0.722 GB, free: 6.543 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 0.0001167/0.215, allocations: 113.8 kB / 0.7221 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.2151, allocations: 7.953 kB / 0.7222 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.2151, allocations: 8.438 kB / 0.7222 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2151, allocations: 4 kB / 0.7222 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2151, allocations: 3.938 kB / 0.7222 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2151, allocations: 3.984 kB / 0.7222 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.2154, allocations: 160.7 kB / 0.7223 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2154, allocations: 0 / 0.7223 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.2155, allocations: 31.91 kB / 0.7224 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2155, allocations: 4 kB / 0.7224 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2155, allocations: 7.938 kB / 0.7224 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2155, allocations: 0 / 0.7224 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2156, allocations: 3.938 kB / 0.7224 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.2161, allocations: 235.4 kB / 0.7226 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.2161, allocations: 7.953 kB / 0.7226 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.2161, allocations: 3.984 kB / 0.7226 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2163, allocations: 15.98 kB / 0.7226 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.2163, allocations: 23.91 kB / 0.7226 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2164, allocations: 4 kB / 0.7227 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.889e-05/0.2164, allocations: 95.27 kB / 0.7227 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2164, allocations: 3.938 kB / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000243/0.2167, allocations: 16 kB / 0.7228 GB, free: 5.734 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.0008751/0.2175, allocations: 0.7631 MB / 0.7235 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.218, allocations: 103.9 kB / 0.7236 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.218, allocations: 4 kB / 0.7236 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.2182, allocations: 63.89 kB / 0.7237 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.2186, allocations: 11.92 kB / 0.7237 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.2211, allocations: 1.536 MB / 0.7252 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.077e-05/0.2212, allocations: 79.08 kB / 0.7253 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.2212, allocations: 11.98 kB / 0.7253 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2213, allocations: 28.48 kB / 0.7253 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2213, allocations: 0 / 0.7253 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.2572, allocations: 3.48 MB / 0.7287 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.69, allocations: 0 / 0.7287 GB, free: 15.66 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.730247436003992] Failed to read output from testmodel.py, exit status != 0: 11.792003155991551 11.81717267 11.603762546 Calling exit ...