Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0006101/0.0006101, allocations: 96.36 kB / 19.7 MB, free: 452 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.0006844/0.0006844, allocations: 207.2 kB / 22.99 MB, free: 2.984 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.8578/0.8578, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7185/0.7185, allocations: 203.8 MB / 0.5049 GB, free: 10.47 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0008476/0.0008476, allocations: 62.62 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3833, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001097/0.3844, allocations: 0.6004 MB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.3849, allocations: 0.8357 MB / 0.8205 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.3849, allocations: 3.281 kB / 0.8205 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.3849, allocations: 0 / 0.8205 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.385, allocations: 12.38 kB / 0.8205 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.3851, allocations: 9.859 kB / 0.8205 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.3852, allocations: 15.89 kB / 0.8205 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.3852, allocations: 9.641 kB / 0.8205 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3853, allocations: 21.05 kB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.3854, allocations: 13.38 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3854, allocations: 3.812 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-05/0.3854, allocations: 4.281 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-06/0.3854, allocations: 0 / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.3854, allocations: 0.9375 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.797e-05/0.3855, allocations: 26.06 kB / 0.8206 GB, free: 288 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3855, allocations: 0 / 0.8206 GB, free: 288 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3855, allocations: 0 / 0.8206 GB, free: 288 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3855, allocations: 0 / 0.8206 GB, free: 288 kB / 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.0002404/0.3857, allocations: 257.4 kB / 0.8208 GB, free: 16 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3858, allocations: 8.969 kB / 0.8208 GB, free: 16 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.3859, allocations: 13.86 kB / 0.8208 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3862, allocations: 111.1 kB / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3862, allocations: 4.312 kB / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.3862, allocations: 1.531 kB / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.3863, allocations: 38.94 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3863, allocations: 192 / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3863, allocations: 5.562 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3863, allocations: 4 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.3863, allocations: 13.78 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.534e-05/0.3864, allocations: 106.7 kB / 0.8211 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.3865, allocations: 24.39 kB / 0.8211 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.3865, allocations: 18.22 kB / 0.8211 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.3865, allocations: 4.234 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.3865, allocations: 30.56 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.3865, allocations: 0 / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.3867, allocations: 60.34 kB / 0.8212 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.3867, allocations: 52.02 kB / 0.8213 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.3867, allocations: 103.1 kB / 0.8214 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3868, allocations: 26.36 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.3868, allocations: 80.66 kB / 0.8215 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.3868, allocations: 6.234 kB / 0.8215 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.3868, allocations: 17.86 kB / 0.8215 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.3869, allocations: 318.2 kB / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.3869, allocations: 7.766 kB / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.3869, allocations: 8.609 kB / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.3869, allocations: 20.2 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.387, allocations: 256 / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.503e-05/0.387, allocations: 50.3 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.387, allocations: 2.922 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.387, allocations: 4 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.387, allocations: 5.125 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.442e-05/0.3871, allocations: 3.953 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.3871, allocations: 7.312 kB / 0.8219 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.3871, allocations: 4.875 kB / 0.8219 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3871, allocations: 0.8438 kB / 0.8219 GB, free: 14.9 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 (1): * Single equations (assignments): 1 * 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 4.342e-05/0.3871, allocations: 108.2 kB / 0.822 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-06/0.3871, allocations: 2.156 kB / 0.822 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.3872, allocations: 9.094 kB / 0.822 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3872, allocations: 3.938 kB / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3872, allocations: 0 / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3872, allocations: 1.406 kB / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.541e-05/0.3872, allocations: 106.6 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3872, allocations: 4 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.3872, allocations: 7.781 kB / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.3872, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.3872, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.3872, allocations: 4.688 kB / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3872, allocations: 3.938 kB / 0.8222 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.672e-05/0.3873, allocations: 71.83 kB / 0.8222 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-06/0.3873, allocations: 1.812 kB / 0.8222 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.3873, allocations: 2.359 kB / 0.8222 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.3873, allocations: 10.05 kB / 0.8222 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.3873, allocations: 17.12 kB / 0.8223 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3873, allocations: 3.984 kB / 0.8223 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.3874, allocations: 78.55 kB / 0.8223 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3874, allocations: 0 / 0.8223 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001126/0.3875, allocations: 3.438 kB / 0.8223 GB, free: 14.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 5.967e-05/0.3875, allocations: 95.42 kB / 0.8224 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.1e-05/0.3876, allocations: 16.42 kB / 0.8225 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3876, allocations: 4.062 kB / 0.8225 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.3876, allocations: 9.438 kB / 0.8225 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.373e-05/0.3877, allocations: 4.422 kB / 0.8225 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001897/0.3879, allocations: 138.9 kB / 0.8226 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.388, allocations: 58.92 kB / 0.8227 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.388, allocations: 9.891 kB / 0.8227 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.388, allocations: 0 / 0.8227 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.001123/0.3891, allocations: 474.2 kB / 0.8231 GB, free: 14.12 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.212382461875677] Failed to read output from testmodel.py, exit status != 0: 0.39366919035091996 0.402387708 0.015130976 Calling exit ...