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.0007694/0.0007694, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008162/0.0008162, allocations: 217.2 kB / 22.25 MB, free: 3.57 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 0.9885/0.9885, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.8041/0.8041, allocations: 203.8 MB / 0.5042 GB, free: 9.961 MB / 410.7 MB " [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.0009228/0.0009228, allocations: 66.17 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5457/0.5466, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001687/0.5483, allocations: 0.7523 MB / 0.8185 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.5492, allocations: 0.8848 MB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.5492, allocations: 1.125 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.5492, allocations: 10.52 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.5493, allocations: 10.28 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.5495, allocations: 38.84 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.5496, allocations: 89.75 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.5498, allocations: 23.28 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.5499, allocations: 39.41 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.55, allocations: 48.88 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.55, allocations: 7.312 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.55, allocations: 8.656 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.55, allocations: 16.14 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.5501, allocations: 37.86 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.5502, allocations: 84.89 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5502, allocations: 0 / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5502, allocations: 0 / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.5502, allocations: 1.594 kB / 0.8198 GB, free: 15.69 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.0005456/0.5508, allocations: 323 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5508, allocations: 8.625 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5509, allocations: 38.7 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.5509, allocations: 12.3 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.551, allocations: 119.2 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5511, allocations: 7.875 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.5511, allocations: 7.625 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.5513, allocations: 103.5 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5513, allocations: 2.438 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5513, allocations: 11.94 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5514, allocations: 0 / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.5516, allocations: 94.22 kB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.5521, allocations: 305.3 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.5525, allocations: 112.7 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.5526, allocations: 61.66 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.5527, allocations: 0.7031 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.5527, allocations: 35.73 kB / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5527, allocations: 0 / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004803/0.5532, allocations: 187.3 kB / 0.8212 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.5532, allocations: 53.03 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.5533, allocations: 128.2 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5533, allocations: 33.14 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.5534, allocations: 91.56 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.5534, allocations: 23.75 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.5534, allocations: 23.59 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5535, allocations: 319.1 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.5537, allocations: 50.33 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.557e-05/0.5538, allocations: 44.52 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.554, allocations: 100.5 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.554, allocations: 0 / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002438/0.5542, allocations: 138.4 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5542, allocations: 3.594 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5542, allocations: 1 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5542, allocations: 2.062 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5543, allocations: 26.75 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5544, allocations: 6.531 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.5544, allocations: 11.83 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5544, allocations: 14.34 kB / 0.8222 GB, free: 13.88 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,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.985e-05/0.5545, allocations: 114.6 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.5545, allocations: 7.953 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.5546, allocations: 10.64 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5546, allocations: 1.125 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.5546, allocations: 3.938 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5546, allocations: 1.125 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.5547, allocations: 161.2 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5547, allocations: 0 / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.5548, allocations: 27.75 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.5548, allocations: 5.406 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5548, allocations: 0.75 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5548, allocations: 5.812 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5548, allocations: 3.938 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.5551, allocations: 231.8 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.5551, allocations: 7.375 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.5552, allocations: 2.078 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.5552, allocations: 16.06 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.5553, allocations: 26.47 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.5553, allocations: 2.469 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.5554, allocations: 97.83 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5554, allocations: 0 / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001554/0.5555, allocations: 15.94 kB / 0.8229 GB, free: 13.3 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 (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.0004907/0.556, allocations: 0.7706 MB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.5563, allocations: 105.8 kB / 0.8237 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5563, allocations: 0 / 0.8237 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.5564, allocations: 59.88 kB / 0.8238 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.5567, allocations: 17.95 kB / 0.8238 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5582, allocations: 1.522 MB / 0.8253 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.236e-05/0.5582, allocations: 80.92 kB / 0.8254 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.015e-05/0.5583, allocations: 12.7 kB / 0.8254 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.5584, allocations: 33.81 kB / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.5584, allocations: 1.562 kB / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.5785, allocations: 3.355 MB / 0.8287 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.23/6.808, allocations: 2.219 kB / 0.8287 GB, free: 10.24 MB / 0.6198 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.817350208759308] Failed to read output from testmodel.py, exit status != 0: 6.8852419052273035 6.895923031 6.343174138 Calling exit ...