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.0006785/0.0006785, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007489/0.0007489, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9238/0.9238, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7175/0.7175, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.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: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.473e-05, allocations: 6.5 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001424/0.001449, allocations: 0.7493 MB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008889/0.002337, allocations: 0.886 MB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.002381, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.002414, allocations: 7.875 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.002493, allocations: 7.875 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.002658, allocations: 43.88 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.002757, allocations: 87.77 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.002872, allocations: 39.89 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.002961, allocations: 39.97 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.003027, allocations: 39.88 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.003054, allocations: 8 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.003066, allocations: 8 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.003089, allocations: 23.91 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.003119, allocations: 27.91 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003238, allocations: 95.7 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00324, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.373e-06/0.003241, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003246, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 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.0004382/0.003684, allocations: 318.1 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.003722, allocations: 8.031 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.003752, allocations: 34.75 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.003781, allocations: 16.88 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.00388, allocations: 117.6 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.003895, allocations: 4.375 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.003908, allocations: 8.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.004103, allocations: 113.9 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.00411, allocations: 0 / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.00412, allocations: 0 / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004124, allocations: 0 / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.004322, allocations: 99.89 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.004714, allocations: 295.7 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.005074, allocations: 126.5 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.005177, allocations: 52.81 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.005192, allocations: 3.938 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.005208, allocations: 34.56 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.005209, allocations: 0 / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004/0.005609, allocations: 185.5 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002934/0.005903, allocations: 51.41 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.005978, allocations: 125.8 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.005993, allocations: 29.7 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.006033, allocations: 92.08 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.006052, allocations: 15.86 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.006088, allocations: 25.7 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.006163, allocations: 322.8 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.006259, allocations: 51.89 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.006346, allocations: 47.89 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.006529, allocations: 100.8 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00653, allocations: 0 / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002207/0.006751, allocations: 137.5 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.006766, allocations: 8 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006771, allocations: 0 / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006782, allocations: 0 / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.006866, allocations: 23.97 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006871, allocations: 3.938 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.006922, allocations: 23.91 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.006929, allocations: 3.938 kB / 0.6225 GB, free: 8.953 MB / 0.5886 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 6.45e-05/0.006994, allocations: 114.8 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.007013, allocations: 11.95 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.007037, allocations: 12.44 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007039, allocations: 0 / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.007045, allocations: 7.938 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007049, allocations: 3.984 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.007177, allocations: 156.7 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.007178, allocations: 4 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.007245, allocations: 23.97 kB / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007246, allocations: 0 / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.007254, allocations: 0 / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007255, allocations: 0 / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007256, allocations: 0 / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.007506, allocations: 247.8 kB / 0.623 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.007517, allocations: 7.953 kB / 0.6231 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.007532, allocations: 4 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.007595, allocations: 11.97 kB / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.007662, allocations: 23.97 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.007667, allocations: 0 / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.007707, allocations: 102.2 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007707, allocations: 0 / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001616/0.007869, allocations: 15.94 kB / 0.6232 GB, free: 8.152 MB / 0.5886 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.0004543/0.008323, allocations: 0.771 MB / 0.624 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.008568, allocations: 103.9 kB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008569, allocations: 0 / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.008678, allocations: 63.89 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.008933, allocations: 11.98 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.01028, allocations: 1.529 MB / 0.6256 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.01033, allocations: 75.33 kB / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.01038, allocations: 11.98 kB / 0.6257 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.01044, allocations: 32.48 kB / 0.6257 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/0.01044, allocations: 0 / 0.6257 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.03068, allocations: 3.478 MB / 0.6291 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.641, allocations: 3.281 kB / 0.6291 GB, free: 2.121 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.329637085087597] Failed to read output from testmodel.py, exit status != 0: 6.72451092582196 6.732015869 6.727154441 Calling exit ...