Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008284/0.0008284, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0009535/0.0009535, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.8767/0.8767, allocations: 177.2 MB / 202.8 MB, free: 5.762 MB / 186.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.6919/0.6919, allocations: 155 MB / 414.2 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Integers.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_dev_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.001122/0.001122, allocations: 71.59 kB / 0.6187 GB, free: 13.24 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4422/0.4434, allocations: 102 MB / 0.7183 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001662/0.445, allocations: 0.7468 MB / 0.719 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.4459, allocations: 0.8817 MB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.4459, allocations: 2.25 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.4459, allocations: 12.77 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.446, allocations: 6.422 kB / 0.7199 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.4462, allocations: 46.72 kB / 0.7199 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.4463, allocations: 81.5 kB / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4465, allocations: 22.55 kB / 0.72 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.4466, allocations: 55.05 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.4467, allocations: 40.33 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.4467, allocations: 8.594 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.4467, allocations: 7.594 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.4468, allocations: 23.27 kB / 0.7201 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.4468, allocations: 35.25 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.447, allocations: 98.16 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.447, allocations: 1.125 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.845e-06/0.447, allocations: 0 / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.447, allocations: 0 / 0.7203 GB, free: 21.74 MB / 0.6355 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.0005188/0.4475, allocations: 323.3 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4476, allocations: 11.69 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.4476, allocations: 38.31 kB / 0.7206 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.4476, allocations: 12.2 kB / 0.7206 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.4477, allocations: 126.3 kB / 0.7208 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4477, allocations: 3.594 kB / 0.7208 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.4477, allocations: 11.28 kB / 0.7208 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.448, allocations: 101.8 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.448, allocations: 0 / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.448, allocations: 5.219 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.448, allocations: 1.188 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.4483, allocations: 105.4 kB / 0.721 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.4487, allocations: 294.4 kB / 0.7213 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.4492, allocations: 115.5 kB / 0.7214 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4493, allocations: 65.28 kB / 0.7214 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4493, allocations: 5.094 kB / 0.7214 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.4493, allocations: 36.23 kB / 0.7215 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4493, allocations: 0 / 0.7215 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004504/0.4498, allocations: 182.6 kB / 0.7216 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4498, allocations: 56.47 kB / 0.7217 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.4499, allocations: 124.3 kB / 0.7218 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.4499, allocations: 30.77 kB / 0.7218 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.45, allocations: 97.33 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.45, allocations: 15.38 kB / 0.722 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.45, allocations: 27.67 kB / 0.722 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.4501, allocations: 316.3 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4502, allocations: 44.09 kB / 0.7223 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4503, allocations: 48.23 kB / 0.7224 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.4506, allocations: 104.6 kB / 0.7225 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4506, allocations: 0 / 0.7225 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002861/0.4508, allocations: 134.5 kB / 0.7226 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4509, allocations: 6.297 kB / 0.7226 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4509, allocations: 4 kB / 0.7226 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4509, allocations: 1.094 kB / 0.7226 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.451, allocations: 27.14 kB / 0.7226 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.451, allocations: 5.062 kB / 0.7226 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.4511, allocations: 20.97 kB / 0.7227 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.4511, allocations: 3 kB / 0.7227 GB, free: 19.93 MB / 0.6355 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.32e-05/0.4511, allocations: 114.9 kB / 0.7228 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.4512, allocations: 7.797 kB / 0.7228 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.4512, allocations: 14.77 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4512, allocations: 1.188 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4512, allocations: 5.203 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4512, allocations: 1.188 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4513, allocations: 151.6 kB / 0.7229 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4513, allocations: 0 / 0.7229 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.4514, allocations: 28.12 kB / 0.723 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4514, allocations: 5.031 kB / 0.723 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4514, allocations: 2.078 kB / 0.723 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4514, allocations: 2.234 kB / 0.723 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4514, allocations: 11.88 kB / 0.723 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.4517, allocations: 230.9 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.4517, allocations: 7.781 kB / 0.7232 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4517, allocations: 9.344 kB / 0.7232 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.4518, allocations: 13.39 kB / 0.7232 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.4519, allocations: 24.47 kB / 0.7233 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4519, allocations: 2.797 kB / 0.7233 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.4519, allocations: 100.7 kB / 0.7234 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4519, allocations: 3.938 kB / 0.7234 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001518/0.4521, allocations: 16.38 kB / 0.7234 GB, free: 19.34 MB / 0.6355 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.0004206/0.4525, allocations: 0.7673 MB / 0.7241 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.4528, allocations: 105.9 kB / 0.7242 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4528, allocations: 1.094 kB / 0.7242 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.453, allocations: 63.11 kB / 0.7243 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.4532, allocations: 13.28 kB / 0.7243 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.4545, allocations: 1.536 MB / 0.7258 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.4545, allocations: 81.5 kB / 0.7259 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.4546, allocations: 8.344 kB / 0.7259 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.4546, allocations: 31.19 kB / 0.7259 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4546, allocations: 4 kB / 0.7259 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.4755, allocations: 3.476 MB / 0.7293 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.586/7.061, allocations: 5.156 kB / 0.7293 GB, free: 16.25 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.689088568091393] Failed to read output from testmodel.py, exit status != 0: 7.138457895023748 7.147787899 6.699032542 Calling exit ...