Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.000915/0.000915, allocations: 85.27 kB / 19.87 MB, free: 4.613 MB / 18.57 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.0009526/0.0009526, allocations: 165 kB / 23.27 MB, free: 1.219 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.8862/0.8862, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7222/0.7222, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 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 179] 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5207 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.584e-05, allocations: 3.375 kB / 0.5207 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001267/0.001283, allocations: 0.655 MB / 0.5214 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.002233, allocations: 1.115 MB / 0.5225 GB, free: 124 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.002271, allocations: 0 / 0.5225 GB, free: 124 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.002294, allocations: 3.938 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.002351, allocations: 12.81 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.00258, allocations: 43.78 kB / 0.5225 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.002658, allocations: 51.78 kB / 0.5226 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.002739, allocations: 14.02 kB / 0.5226 GB, free: 16 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.00281, allocations: 19.95 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.002848, allocations: 23.95 kB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.002861, allocations: 7.938 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.002913, allocations: 16 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.002932, allocations: 8.609 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.002951, allocations: 16.58 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.003045, allocations: 47.81 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003046, allocations: 0.6875 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003048, allocations: 4 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.003051, allocations: 0.5938 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003415/0.003392, allocations: 393.9 kB / 0.5231 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.003423, allocations: 8.031 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.003493, allocations: 9.672 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.507e-05/0.003558, allocations: 116.5 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.003567, allocations: 5.25 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.003574, allocations: 4.375 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.003668, allocations: 69.95 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003674, allocations: 192 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.003679, allocations: 384 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003685, allocations: 4.359 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.003707, allocations: 11.94 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.003944, allocations: 260.3 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.369e-05/0.003998, allocations: 35.05 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.004014, allocations: 16.31 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.004032, allocations: 5.125 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.004091, allocations: 57.05 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.004092, allocations: 0 / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001262/0.004218, allocations: 74.53 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.004247, allocations: 51.41 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.004306, allocations: 166.8 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.004315, allocations: 25.7 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.004352, allocations: 142.8 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.004366, allocations: 12.61 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.004396, allocations: 31.36 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.004488, allocations: 497 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.0045, allocations: 4 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.004534, allocations: 47.94 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.004579, allocations: 51.81 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004581, allocations: 4 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.36e-05/0.004655, allocations: 75.3 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.004665, allocations: 4 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00467, allocations: 7.984 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.004681, allocations: 5.328 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.004732, allocations: 12 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.004735, allocations: 3.984 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.004758, allocations: 8.594 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.004764, allocations: 4.156 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.999e-05/0.004824, allocations: 167.7 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.004833, allocations: 7.953 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-05/0.004918, allocations: 70.05 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00492, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.004921, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.004924, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.005087, allocations: 302 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.005088, allocations: 0 / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.005109, allocations: 11.11 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.005113, allocations: 7.938 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.005117, allocations: 3.938 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005118, allocations: 0 / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00512, allocations: 3.984 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.952e-05/0.005209, allocations: 215.8 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-06/0.005213, allocations: 0 / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.005223, allocations: 7.922 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.005261, allocations: 5.812 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.005285, allocations: 7.984 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.005293, allocations: 192 / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.005323, allocations: 131.2 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005324, allocations: 1.688 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001537/0.005477, allocations: 12 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.549e-05/0.005563, allocations: 107.1 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.005629, allocations: 38.36 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005631, allocations: 0 / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.005656, allocations: 27.66 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.005814, allocations: 5.562 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.006134, allocations: 152 kB / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.006163, allocations: 59.34 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.006181, allocations: 4 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.006226, allocations: 80.59 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.006227, allocations: 0 / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.002148/0.008375, allocations: 0.9102 MB / 0.5271 GB, free: 11.08 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.299612486269325]