Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001065/0.001065, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0009956/0.0009956, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9844/0.9844, allocations: 230.6 MB / 256 MB, free: 9.617 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.8045/0.8045, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.001112/0.001112, allocations: 70.78 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5393, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001554/0.5408, allocations: 0.686 MB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.5417, allocations: 0.8343 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.5418, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.5418, allocations: 3.938 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.5419, allocations: 5.453 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.862e-05/0.542, allocations: 14.88 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.5421, allocations: 43.17 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.5422, allocations: 8.75 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.5423, allocations: 22.55 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.5423, allocations: 18.28 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.5423, allocations: 5.969 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.5423, allocations: 4.125 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.5424, allocations: 13.41 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.5424, allocations: 17.39 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.5425, allocations: 39.17 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.5425, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5425, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5425, allocations: 0 / 0.8195 GB, free: 15.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004379/0.5429, allocations: 290.8 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.543, allocations: 8.75 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.543, allocations: 40.78 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.543, allocations: 6.891 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.5431, allocations: 111.6 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5432, allocations: 6.188 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.5432, allocations: 3.594 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.5434, allocations: 70.27 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5434, allocations: 3.938 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5434, allocations: 2.266 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.5434, allocations: 0 / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.5436, allocations: 66.84 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.5439, allocations: 239.6 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.5441, allocations: 56 kB / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.5442, allocations: 43.31 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.5442, allocations: 0 / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5442, allocations: 33.19 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5442, allocations: 0 / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003983/0.5446, allocations: 127.6 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5447, allocations: 56.2 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.5448, allocations: 112.4 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5448, allocations: 25.7 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.5448, allocations: 92.14 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.5449, allocations: 12.55 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.5449, allocations: 14.33 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.545, allocations: 317.9 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.5451, allocations: 31.3 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.5452, allocations: 35.34 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.5453, allocations: 70.22 kB / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5453, allocations: 0 / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001936/0.5455, allocations: 97.44 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5455, allocations: 9.781 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5455, allocations: 3.938 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5456, allocations: 4.953 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.5457, allocations: 14.97 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5457, allocations: 0 / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.5457, allocations: 10.16 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.5457, allocations: 1.188 kB / 0.8214 GB, free: 14.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.212e-05/0.5458, allocations: 116.4 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.5458, allocations: 12.94 kB / 0.8216 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.5458, allocations: 5.125 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.5458, allocations: 5.266 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5458, allocations: 0 / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5458, allocations: 0 / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.5459, allocations: 137.3 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5459, allocations: 0.5625 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.546, allocations: 14.98 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.546, allocations: 0 / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.546, allocations: 5 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.546, allocations: 4.562 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.546, allocations: 1.312 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.5462, allocations: 197.9 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.5462, allocations: 6.969 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.5462, allocations: 4.656 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.5463, allocations: 12.03 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.5463, allocations: 3.859 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.5463, allocations: 9.906 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.5463, allocations: 83.72 kB / 0.822 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5463, allocations: 0 / 0.822 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001429/0.5465, allocations: 9.625 kB / 0.822 GB, free: 13.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004625/0.547, allocations: 0.728 MB / 0.8227 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.5472, allocations: 69.48 kB / 0.8228 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5472, allocations: 0 / 0.8228 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.5473, allocations: 34.67 kB / 0.8228 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.5476, allocations: 7.281 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.548, allocations: 172.6 kB / 0.823 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.579e-05/0.548, allocations: 67.11 kB / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.5481, allocations: 1.344 kB / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.5481, allocations: 18.09 kB / 0.8231 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.5481, allocations: 0 / 0.8231 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.5651, allocations: 2.173 MB / 0.8252 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/7.279, allocations: 4.719 kB / 0.8252 GB, free: 11.89 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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_Reals_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.344680399633944] Failed to read output from testmodel.py, exit status != 0: 7.357181767001748 7.369411135 6.82483125 Calling exit ...