Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001308/0.001308, allocations: 82.72 kB / 19.18 MB, free: 2.363 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.001388/0.001388, allocations: 170.5 kB / 22.45 MB, free: 4.98 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.406/1.406, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.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.175/1.175, allocations: 154.7 MB / 413.9 MB, free: 5.184 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.904e-05, allocations: 5.344 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001593/0.001623, allocations: 0.6044 MB / 0.6194 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002747, allocations: 0.8392 MB / 0.6202 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.002788, allocations: 4 kB / 0.6202 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.00281, allocations: 0 / 0.6202 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.002874, allocations: 7.938 kB / 0.6202 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.003069, allocations: 0 / 0.6202 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.00315, allocations: 19.92 kB / 0.6202 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.003204, allocations: 12 kB / 0.6202 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.003383, allocations: 23.91 kB / 0.6203 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.003443, allocations: 7.938 kB / 0.6203 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.00346, allocations: 0 / 0.6203 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.003509, allocations: 11.92 kB / 0.6203 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.003521, allocations: 0 / 0.6203 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.003548, allocations: 4 kB / 0.6203 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003667, allocations: 19.97 kB / 0.6203 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00367, allocations: 4 kB / 0.6203 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00367, allocations: 0 / 0.6203 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003675, allocations: 0 / 0.6203 GB, free: 2.977 MB / 0.5294 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.0004243/0.0041, allocations: 254.4 kB / 0.6205 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.00414, allocations: 8.031 kB / 0.6206 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.004294, allocations: 20.81 kB / 0.6206 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.004407, allocations: 113.7 kB / 0.6207 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.004423, allocations: 4.375 kB / 0.6207 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.004432, allocations: 4.312 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.004556, allocations: 38.25 kB / 0.6207 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004566, allocations: 192 / 0.6207 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.004576, allocations: 384 / 0.6207 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.004585, allocations: 384 / 0.6207 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.004665, allocations: 19.92 kB / 0.6207 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.004812, allocations: 101.3 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.0049, allocations: 34.58 kB / 0.6209 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.004944, allocations: 12.86 kB / 0.6209 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.004962, allocations: 0 / 0.6209 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.004992, allocations: 38.55 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.004992, allocations: 0 / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002188/0.005211, allocations: 49.69 kB / 0.621 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.00525, allocations: 51.41 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.005341, allocations: 109.8 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.005356, allocations: 25.7 kB / 0.6212 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.005404, allocations: 84.14 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.005431, allocations: 7.953 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.005461, allocations: 9.719 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.005593, allocations: 319 kB / 0.6216 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.005635, allocations: 15.94 kB / 0.6216 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.005662, allocations: 4 kB / 0.6216 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.005727, allocations: 16.84 kB / 0.6216 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005729, allocations: 0 / 0.6216 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.00583, allocations: 49.67 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.005845, allocations: 8 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00585, allocations: 4.094 kB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.005863, allocations: 0 / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.005921, allocations: 0 / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.005926, allocations: 4 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.005959, allocations: 3.938 kB / 0.6217 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005967, allocations: 3.984 kB / 0.6217 GB, free: 1.414 MB / 0.5294 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 7.661e-05/0.006043, allocations: 123.6 kB / 0.6218 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.006051, allocations: 0 / 0.6218 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.006067, allocations: 3.156 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006069, allocations: 0 / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.006072, allocations: 4 kB / 0.6218 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.006078, allocations: 7.938 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.121e-05/0.006159, allocations: 97.31 kB / 0.6219 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.006162, allocations: 4 kB / 0.6219 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.006193, allocations: 256 / 0.6219 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006194, allocations: 0 / 0.6219 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.006206, allocations: 12 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006207, allocations: 0 / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006208, allocations: 0 / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.006339, allocations: 77 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.006348, allocations: 8 kB / 0.622 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.00636, allocations: 0 / 0.622 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.006385, allocations: 3.938 kB / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.006413, allocations: 0 / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006417, allocations: 11.92 kB / 0.622 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.006464, allocations: 79.28 kB / 0.6221 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.006464, allocations: 0 / 0.6221 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002597/0.006724, allocations: 3.938 kB / 0.6221 GB, free: 0.9297 MB / 0.5294 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 0.000117/0.006841, allocations: 99.28 kB / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.006972, allocations: 19.98 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.006974, allocations: 0 / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.007013, allocations: 11.98 kB / 0.6222 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.007151, allocations: 4 kB / 0.6222 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.007423, allocations: 104.8 kB / 0.6223 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/0.007474, allocations: 55.36 kB / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.007499, allocations: 4.125 kB / 0.6224 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.007524, allocations: 8.5 kB / 0.6224 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.007524, allocations: 0 / 0.6224 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of Templates: time 0.002457/0.009981, allocations: 291.2 kB / 0.6226 GB, free: 300 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.497414952144027] Failed to read output from testmodel.py, exit status != 0: 0.017977721989154816 0.033232181 0.02620952 Calling exit ...