Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0006884/0.0006884, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0006854/0.0006854, allocations: 210.4 kB / 23 MB, free: 2.973 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.8686/0.8686, allocations: 230.6 MB / 256.8 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.7237/0.7237, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.0008477/0.0008477, allocations: 63.38 kB / 0.7194 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3765, allocations: 102 MB / 0.819 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001128/0.3776, allocations: 0.5834 MB / 0.8196 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.359e-05/0.3776, allocations: 0.5625 kB / 0.8196 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.3777, allocations: 2 kB / 0.8196 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.3777, allocations: 4 kB / 0.8196 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.233e-05/0.3777, allocations: 0 / 0.8196 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.535e-05/0.3777, allocations: 0 / 0.8196 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.121e-05/0.3778, allocations: 2.766 kB / 0.8196 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.3778, allocations: 4.703 kB / 0.8196 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.3778, allocations: 3.344 kB / 0.8196 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.744e-05/0.3779, allocations: 4.594 kB / 0.8196 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.3779, allocations: 0 / 0.8196 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-06/0.3779, allocations: 0 / 0.8196 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.3779, allocations: 0 / 0.8196 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.3779, allocations: 3.984 kB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.095e-05/0.3779, allocations: 6.688 kB / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.378, allocations: 0 / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.378, allocations: 0 / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.378, allocations: 7.828 kB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001782/0.3781, allocations: 245.5 kB / 0.8199 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3782, allocations: 8.031 kB / 0.8199 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.3782, allocations: 0.9375 kB / 0.8199 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.381e-05/0.3782, allocations: 110.8 kB / 0.82 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.3783, allocations: 384 / 0.82 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.3783, allocations: 384 / 0.82 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/0.3783, allocations: 36.94 kB / 0.82 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.3783, allocations: 192 / 0.82 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.3783, allocations: 4.969 kB / 0.82 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3783, allocations: 0 / 0.82 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.198e-05/0.3784, allocations: 2.031 kB / 0.82 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3785, allocations: 334 kB / 0.8204 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.318e-05/0.3785, allocations: 172 kB / 0.8205 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.3786, allocations: 84.88 kB / 0.8206 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3786, allocations: 79.22 kB / 0.8207 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3786, allocations: 113.2 kB / 0.8208 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3786, allocations: 0 / 0.8208 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 4.789e-05/0.3787, allocations: 34.34 kB / 0.8208 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3787, allocations: 129.3 kB / 0.8209 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.3788, allocations: 90.61 kB / 0.821 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.3788, allocations: 26.41 kB / 0.821 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.3788, allocations: 82.64 kB / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.3788, allocations: 0 / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.3788, allocations: 10.52 kB / 0.8211 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.67e-05/0.3789, allocations: 316.3 kB / 0.8214 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/0.3789, allocations: 0 / 0.8214 GB, free: 15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-06/0.3789, allocations: 3.172 kB / 0.8214 GB, free: 15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.3789, allocations: 79.41 kB / 0.8215 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.3789, allocations: 75.28 kB / 0.8216 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.853e-05/0.379, allocations: 41.02 kB / 0.8216 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.379, allocations: 83.56 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.379, allocations: 75.94 kB / 0.8218 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.49e-05/0.3791, allocations: 154.1 kB / 0.8219 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.779e-05/0.3791, allocations: 82.7 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.3791, allocations: 151.5 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.3791, allocations: 82.83 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3792, allocations: 79.28 kB / 0.8223 GB, free: 14.13 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 (0): * Single equations (assignments): 0 * 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.012e-05/0.3792, allocations: 262.7 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3793, allocations: 112.3 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.3793, allocations: 109.3 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.3793, allocations: 177.4 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/0.3794, allocations: 188.4 kB / 0.8231 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.366e-05/0.3794, allocations: 180.8 kB / 0.8233 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.3795, allocations: 353.5 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/0.3796, allocations: 104.2 kB / 0.8237 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.3796, allocations: 101.7 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.995e-05/0.3796, allocations: 189.4 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.3797, allocations: 187.9 kB / 0.8242 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-05/0.3797, allocations: 181.2 kB / 0.8244 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.463e-05/0.3797, allocations: 177.5 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.3798, allocations: 308.2 kB / 0.8248 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.3798, allocations: 114.4 kB / 0.8249 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.3799, allocations: 180.8 kB / 0.8251 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.3799, allocations: 105.9 kB / 0.8252 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.38, allocations: 179.8 kB / 0.8254 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.38, allocations: 113.8 kB / 0.8255 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.264e-05/0.38, allocations: 79.47 kB / 0.8256 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.38, allocations: 96 / 0.8256 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001464/0.3802, allocations: 4 kB / 0.8256 GB, free: 10.66 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 (0): * Single equations (assignments): 0 * 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 7.56e-05/0.3802, allocations: 167.3 kB / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.197e-05/0.3803, allocations: 1.094 kB / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.3803, allocations: 0 / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.3803, allocations: 1.281 kB / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3805, allocations: 460.1 kB / 0.8262 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.3806, allocations: 179.6 kB / 0.8263 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.055e-05/0.3807, allocations: 55.48 kB / 0.8264 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-06/0.3807, allocations: 12.75 kB / 0.8264 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.3807, allocations: 0 / 0.8264 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of Templates: time 0.0009607/0.3816, allocations: 314.3 kB / 0.8267 GB, free: 9.75 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.104166721925139] Failed to read output from testmodel.py, exit status != 0: 0.3873667549341917 0.394832764 0.015177132000000001 Calling exit ...