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.00107/0.00107, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008304/0.0008304, allocations: 213.8 kB / 22.26 MB, free: 3.707 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.018/1.018, allocations: 230.6 MB / 256 MB, free: 9.809 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.8245/0.8245, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001313/0.001313, allocations: 66.42 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.542, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001572/0.5435, allocations: 0.7808 MB / 0.8186 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.5443, allocations: 0.89 MB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.5444, allocations: 0 / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.5444, allocations: 9.422 kB / 0.8195 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.5445, allocations: 10.27 kB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.5446, allocations: 44.97 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.5447, allocations: 83.61 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.5449, allocations: 22.5 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.545, allocations: 43.22 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.545, allocations: 48.81 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.5451, allocations: 8.594 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.5451, allocations: 8.906 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.5451, allocations: 20.28 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.5451, allocations: 34.44 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.5453, allocations: 90.41 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5453, allocations: 3.938 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5453, allocations: 0 / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5453, allocations: 0 / 0.8199 GB, free: 15.87 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.0004647/0.5458, allocations: 319 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5458, allocations: 11.81 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.5458, allocations: 40.42 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.5459, allocations: 11.92 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.546, allocations: 122.4 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.546, allocations: 3.906 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.546, allocations: 11.81 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.5462, allocations: 100.3 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5462, allocations: 0 / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5463, allocations: 1.969 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5463, allocations: 0 / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.5465, allocations: 105.5 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.5469, allocations: 315.1 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.5473, allocations: 123.7 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5474, allocations: 58.75 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.5474, allocations: 0 / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.5474, allocations: 31.08 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.5474, allocations: 0 / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.5478, allocations: 185.4 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5479, allocations: 53.12 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.548, allocations: 133.8 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.548, allocations: 25.7 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.548, allocations: 95.52 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.548, allocations: 23.73 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.5481, allocations: 29.11 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.5482, allocations: 317.2 kB / 0.8219 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.5483, allocations: 43.45 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.5484, allocations: 47.17 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5485, allocations: 99.02 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5485, allocations: 0 / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002279/0.5488, allocations: 138.3 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5488, allocations: 5.109 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5488, allocations: 2.438 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5488, allocations: 7.938 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.5489, allocations: 24.33 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5489, allocations: 4.484 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.549, allocations: 12.33 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.549, allocations: 6.297 kB / 0.8223 GB, free: 14.06 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.021e-05/0.549, allocations: 114.5 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.5491, allocations: 8.281 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.5491, allocations: 15.97 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5491, allocations: 8.594 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5491, allocations: 3.938 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5491, allocations: 0.75 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5493, allocations: 165.5 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5493, allocations: 4.719 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.5494, allocations: 23.36 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5494, allocations: 2.344 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.5494, allocations: 1.125 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5494, allocations: 5.25 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5494, allocations: 7.938 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5496, allocations: 236.8 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.5497, allocations: 6.266 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.5497, allocations: 1.094 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.5497, allocations: 20.98 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.5498, allocations: 19.73 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5498, allocations: 9.109 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.5498, allocations: 96.77 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5498, allocations: 0 / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001534/0.55, allocations: 15.66 kB / 0.823 GB, free: 13.46 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.0004812/0.5505, allocations: 0.7684 MB / 0.8238 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.5507, allocations: 106.3 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5507, allocations: 0 / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.5509, allocations: 59.98 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.5511, allocations: 12.98 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5526, allocations: 1.527 MB / 0.8255 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.5528, allocations: 0.6901 MB / 0.8261 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.197e-05/0.5528, allocations: 16.3 kB / 0.8261 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.5529, allocations: 30.31 kB / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.5529, allocations: 0 / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.5735, allocations: 2.848 MB / 0.829 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/7.102, allocations: 9 kB / 0.829 GB, free: 10.23 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.274559423094615] Failed to read output from testmodel.py, exit status != 0: 7.182101227110252 7.193020546 6.645588068 Calling exit ...