Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.001555/0.001555, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002044/0.002044, allocations: 214.1 kB / 22.25 MB, free: 4.859 MB / 14.72 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.348/1.348, allocations: 203.5 MB / 0.5038 GB, free: 4.871 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [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.002056/0.002056, allocations: 62.31 kB / 0.7183 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6707, allocations: 102 MB / 0.8179 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002166/0.6729, allocations: 0.6525 MB / 0.8185 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.6744, allocations: 0.8471 MB / 0.8194 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.6744, allocations: 0 / 0.8194 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.6745, allocations: 0 / 0.8194 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.6745, allocations: 3.938 kB / 0.8194 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.6748, allocations: 15.98 kB / 0.8194 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6749, allocations: 27.92 kB / 0.8194 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.6751, allocations: 3.984 kB / 0.8194 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.6751, allocations: 11.94 kB / 0.8194 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.6752, allocations: 15.92 kB / 0.8194 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.6752, allocations: 4 kB / 0.8194 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.6753, allocations: 4 kB / 0.8194 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.6753, allocations: 4 kB / 0.8194 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.6753, allocations: 7.984 kB / 0.8195 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.6755, allocations: 31.69 kB / 0.8195 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6755, allocations: 0 / 0.8195 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6755, allocations: 0 / 0.8195 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.6755, allocations: 0 / 0.8195 GB, free: 0.668 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000705/0.6762, allocations: 262.1 kB / 0.8197 GB, free: 392 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.6763, allocations: 8.031 kB / 0.8197 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.6765, allocations: 16.83 kB / 0.8198 GB, free: 368 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.6766, allocations: 109.4 kB / 0.8199 GB, free: 236 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.6767, allocations: 8.359 kB / 0.8199 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.6767, allocations: 384 / 0.8199 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.6769, allocations: 46.25 kB / 0.8199 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6769, allocations: 192 / 0.8199 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.6769, allocations: 3.938 kB / 0.8199 GB, free: 172 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.6769, allocations: 7.922 kB / 0.8199 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.6771, allocations: 31.97 kB / 0.82 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.6775, allocations: 196.5 kB / 0.8201 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.6777, allocations: 34.59 kB / 0.8202 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.6778, allocations: 20.91 kB / 0.8202 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.6778, allocations: 3.938 kB / 0.8202 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6778, allocations: 38.5 kB / 0.8202 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6778, allocations: 0 / 0.8202 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003914/0.6782, allocations: 85.58 kB / 0.8203 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6783, allocations: 55.41 kB / 0.8204 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.6784, allocations: 105.8 kB / 0.8205 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.6785, allocations: 25.7 kB / 0.8205 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.6786, allocations: 84.09 kB / 0.8206 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.6786, allocations: 4 kB / 0.8206 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.6786, allocations: 13.72 kB / 0.8206 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6788, allocations: 318.8 kB / 0.8209 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.6789, allocations: 12.11 kB / 0.8209 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.6789, allocations: 23.98 kB / 0.8209 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.6791, allocations: 36.83 kB / 0.821 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6791, allocations: 0 / 0.821 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002188/0.6793, allocations: 77.48 kB / 0.821 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6793, allocations: 4.094 kB / 0.821 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6793, allocations: 4 kB / 0.8211 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6794, allocations: 0 / 0.8211 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.6795, allocations: 11.98 kB / 0.8211 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6795, allocations: 0 / 0.8211 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.6795, allocations: 7.984 kB / 0.8211 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.6795, allocations: 0 / 0.8211 GB, free: 14.88 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 9.74e-05/0.6796, allocations: 114.8 kB / 0.8212 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.6796, allocations: 3.938 kB / 0.8212 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.6799, allocations: 80.86 kB / 0.8213 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6799, allocations: 0 / 0.8213 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6799, allocations: 4 kB / 0.8213 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6799, allocations: 0 / 0.8213 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.6801, allocations: 105.2 kB / 0.8214 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6801, allocations: 0 / 0.8214 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.6802, allocations: 11.92 kB / 0.8214 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.6802, allocations: 7.938 kB / 0.8214 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.6802, allocations: 0 / 0.8214 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6802, allocations: 4.031 kB / 0.8214 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6802, allocations: 0 / 0.8214 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.6804, allocations: 159.5 kB / 0.8215 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.6805, allocations: 7.891 kB / 0.8215 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.6805, allocations: 4 kB / 0.8216 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.6805, allocations: 3.984 kB / 0.8216 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.6806, allocations: 8 kB / 0.8216 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.6806, allocations: 3.938 kB / 0.8216 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.6806, allocations: 83.31 kB / 0.8216 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6806, allocations: 3.938 kB / 0.8216 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002058/0.6808, allocations: 7.984 kB / 0.8217 GB, free: 14.21 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0001409/0.681, allocations: 91.25 kB / 0.8217 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.6812, allocations: 31.97 kB / 0.8218 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6812, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.6813, allocations: 28.03 kB / 0.8218 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.6816, allocations: 4 kB / 0.8218 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.6819, allocations: 110.1 kB / 0.8219 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.682, allocations: 63.34 kB / 0.822 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.682, allocations: 3.906 kB / 0.822 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.682, allocations: 7.438 kB / 0.822 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.682, allocations: 0 / 0.822 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.003192/0.6852, allocations: 478.8 kB / 0.8224 GB, free: 13.37 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.032976316288114] Failed to read output from testmodel.py, exit status != 0: 0.694540299475193 0.708915022 0.030268503000000002 Calling exit ...