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.0008883/0.0008883, 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.0009451/0.0009451, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9427/0.9427, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7396/0.7396, allocations: 154.6 MB / 413.7 MB, free: 0.8477 MB / 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: Performance of FrontEnd - loaded program: time 4.348e-06/4.348e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.973e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.00178/0.00182, allocations: 0.7368 MB / 0.6188 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002843, allocations: 0.8859 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.002891, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.002926, allocations: 7.875 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.00301, allocations: 11.81 kB / 0.6197 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.003199, allocations: 43.88 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.003309, allocations: 87.83 kB / 0.6198 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.003423, allocations: 27.97 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.003518, allocations: 47.89 kB / 0.6199 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.003586, allocations: 39.88 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.003616, allocations: 8 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.003628, allocations: 8 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.003655, allocations: 27.84 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.003688, allocations: 23.92 kB / 0.62 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.003838, allocations: 95.7 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003842, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.844e-06/0.003843, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003848, allocations: 4 kB / 0.6201 GB, free: 11.71 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.0006354/0.004483, allocations: 314.1 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.00455, allocations: 13.47 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.004599, allocations: 34.73 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.004644, allocations: 8.891 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.004803, allocations: 117.7 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.004824, allocations: 8.312 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.00484, allocations: 8.375 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.005108, allocations: 117.9 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005118, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.005132, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.00514, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.005366, allocations: 99.89 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.005908, allocations: 303.7 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.006359, allocations: 114.6 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.006471, allocations: 52.81 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.006493, allocations: 0 / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.006518, allocations: 38.55 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.006519, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004251/0.006945, allocations: 181.5 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.006989, allocations: 51.41 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.007078, allocations: 129 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.007097, allocations: 33.64 kB / 0.6216 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.007148, allocations: 88.08 kB / 0.6217 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.007173, allocations: 23.84 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.007214, allocations: 25.7 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.007309, allocations: 322.8 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.007421, allocations: 43.95 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.007512, allocations: 47.94 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.007704, allocations: 108.6 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007706, allocations: 4 kB / 0.6222 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002449/0.007951, allocations: 129.6 kB / 0.6224 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.007968, allocations: 8 kB / 0.6224 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.007975, allocations: 0.5469 kB / 0.6224 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.007988, allocations: 0 / 0.6224 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.00808, allocations: 23.97 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.008087, allocations: 7.984 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.008142, allocations: 15.92 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.008149, allocations: 3.938 kB / 0.6224 GB, free: 9.094 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 7.589e-05/0.008225, allocations: 118.8 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.008244, allocations: 11.95 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.008271, allocations: 16.42 kB / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.008274, allocations: 0 / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.008278, allocations: 0 / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008282, allocations: 0 / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.008431, allocations: 168.7 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008433, allocations: 0 / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.008505, allocations: 23.97 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.008507, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.008516, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.008519, allocations: 3.984 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.008521, allocations: 4 kB / 0.6228 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.008811, allocations: 243.3 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.008826, allocations: 7.938 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.008845, allocations: 7.938 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.00892, allocations: 7.984 kB / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.008997, allocations: 23.97 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.009003, allocations: 0 / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.009052, allocations: 99.27 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009052, allocations: 0 / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001732/0.009225, allocations: 15.94 kB / 0.6231 GB, free: 8.285 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.0005843/0.009809, allocations: 0.7632 MB / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.01014, allocations: 107.8 kB / 0.624 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01014, allocations: 0 / 0.624 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.01027, allocations: 63.94 kB / 0.624 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.01062, allocations: 10.19 kB / 0.6241 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.01224, allocations: 1.548 MB / 0.6256 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.697e-05/0.01231, allocations: 75.33 kB / 0.6256 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.01238, allocations: 12 kB / 0.6257 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.01245, allocations: 28.48 kB / 0.6257 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.01245, allocations: 0 / 0.6257 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.03262, allocations: 3.482 MB / 0.6291 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.951, allocations: 4.688 kB / 0.6291 GB, free: 2.242 MB / 0.5886 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.758009630255401] Failed to read output from testmodel.py, exit status != 0: 7.032141678035259 7.041261693 7.034992257 Calling exit ...