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.001141/0.001141, 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.001414/0.001414, allocations: 169.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.9185/0.9185, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7459/0.7459, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.311e-05, allocations: 3.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001612/0.001635, allocations: 0.691 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.002616, allocations: 0.8276 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.002666, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.002704, allocations: 3.938 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.002793, allocations: 3.938 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.056e-05/0.002874, allocations: 15.92 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.002973, allocations: 47.91 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.003096, allocations: 7.984 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.003183, allocations: 27.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.003224, allocations: 15.97 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.003253, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.00326, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.003281, allocations: 7.938 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.003311, allocations: 11.98 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.003412, allocations: 43.8 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.003417, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.285e-06/0.003419, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.003424, allocations: 4 kB / 0.6198 GB, free: 11.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004208/0.003844, allocations: 286.2 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.003895, allocations: 9.469 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.00393, allocations: 30.75 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.003955, allocations: 8.891 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.833e-05/0.004043, allocations: 117.7 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.004053, allocations: 384 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004062, allocations: 384 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.004234, allocations: 74.22 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004242, allocations: 192 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.004251, allocations: 384 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.004259, allocations: 8.109 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.004403, allocations: 59.94 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.004736, allocations: 232 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.004874, allocations: 58.55 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.004956, allocations: 40.91 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.004968, allocations: 3.938 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.004987, allocations: 30.56 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.004989, allocations: 0 / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003272/0.005316, allocations: 141.5 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.005347, allocations: 51.41 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.005409, allocations: 109.8 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.005419, allocations: 25.7 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.005458, allocations: 96.03 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.005474, allocations: 3.953 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.005503, allocations: 13.72 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.005582, allocations: 318.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.005663, allocations: 39.91 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.005728, allocations: 31.95 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.005864, allocations: 64.8 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005866, allocations: 0 / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001684/0.006035, allocations: 113.4 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.006051, allocations: 4 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.006058, allocations: 0 / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.006071, allocations: 0 / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.00616, allocations: 15.98 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006165, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.006204, allocations: 15.98 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.00621, allocations: 0 / 0.6217 GB, free: 9.766 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: 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.784e-05/0.006278, allocations: 114.8 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.006293, allocations: 7.922 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.006316, allocations: 4 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.00632, allocations: 4 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.006326, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006329, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.006455, allocations: 144.7 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006456, allocations: 0 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.006503, allocations: 19.92 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.006506, allocations: 7.984 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.006513, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.006515, allocations: 3.938 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006516, allocations: 0 / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.006738, allocations: 191.4 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.006747, allocations: 7.938 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.006758, allocations: 4 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.00681, allocations: 15.97 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.006847, allocations: 0 / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.00685, allocations: 0 / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.006883, allocations: 91.27 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006883, allocations: 0 / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001525/0.007036, allocations: 8 kB / 0.6223 GB, free: 9.078 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: 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.0005205/0.007556, allocations: 0.7283 MB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.007758, allocations: 67.92 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.007762, allocations: 7.938 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.007838, allocations: 36.11 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.008106, allocations: 16.52 kB / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.008518, allocations: 150.5 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.008572, allocations: 67.28 kB / 0.6233 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.008601, allocations: 0 / 0.6233 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.008648, allocations: 24.48 kB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.008648, allocations: 4 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02439, allocations: 2.313 MB / 0.6256 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/6.812, allocations: 0.7031 kB / 0.6256 GB, free: 5.734 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.633166532032192] Failed to read output from testmodel.py, exit status != 0: 6.893194941803813 6.903155217 6.896606515 Calling exit ...