Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001408/0.001408, 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.001997/0.001997, allocations: 213.8 kB / 22.25 MB, free: 4.863 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.544/1.544, 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.357/1.357, allocations: 203.5 MB / 0.5038 GB, free: 4.914 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.002074/0.002074, allocations: 67.98 kB / 0.7183 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7052, allocations: 102 MB / 0.8179 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002475/0.7077, allocations: 0.8403 MB / 0.8187 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.7097, allocations: 1.199 MB / 0.8199 GB, free: 304 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.7098, allocations: 0 / 0.8199 GB, free: 304 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.793e-05/0.7098, allocations: 11.86 kB / 0.8199 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.7099, allocations: 19.86 kB / 0.8199 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.7106, allocations: 147.4 kB / 0.8201 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.711, allocations: 171.6 kB / 0.8202 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.7111, allocations: 36.89 kB / 0.8203 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.7113, allocations: 63.84 kB / 0.8203 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.7114, allocations: 63.72 kB / 0.8204 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.7115, allocations: 16 kB / 0.8204 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.7115, allocations: 27.98 kB / 0.8204 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.7116, allocations: 19.92 kB / 0.8204 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.567e-05/0.7117, allocations: 59.77 kB / 0.8205 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.712, allocations: 170.1 kB / 0.8207 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.712, allocations: 4 kB / 0.8207 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.712, allocations: 0 / 0.8207 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.712, allocations: 0 / 0.8207 GB, free: 15.52 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009695/0.713, allocations: 417.8 kB / 0.8211 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.713, allocations: 8.031 kB / 0.8211 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.7131, allocations: 28.77 kB / 0.8211 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.7138, allocations: 180.6 kB / 0.8213 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.7138, allocations: 12.38 kB / 0.8213 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.7138, allocations: 16.33 kB / 0.8213 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.7141, allocations: 94.14 kB / 0.8214 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.7141, allocations: 3.938 kB / 0.8214 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7142, allocations: 3.938 kB / 0.8214 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.7142, allocations: 4 kB / 0.8214 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.7144, allocations: 47.89 kB / 0.8214 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.7152, allocations: 312.2 kB / 0.8217 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.7154, allocations: 38.55 kB / 0.8218 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.7155, allocations: 20.84 kB / 0.8218 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.7155, allocations: 0 / 0.8218 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.7158, allocations: 103.4 kB / 0.8219 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.7159, allocations: 0 / 0.8219 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005488/0.7164, allocations: 141.5 kB / 0.822 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.7165, allocations: 51.41 kB / 0.8221 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.7166, allocations: 156.1 kB / 0.8222 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.7167, allocations: 25.7 kB / 0.8223 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.7168, allocations: 108.1 kB / 0.8224 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.7168, allocations: 35.86 kB / 0.8224 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7169, allocations: 49.69 kB / 0.8224 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7171, allocations: 318.8 kB / 0.8227 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.7173, allocations: 85.56 kB / 0.8228 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.7176, allocations: 164.8 kB / 0.823 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.7179, allocations: 196.6 kB / 0.8232 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7179, allocations: 0 / 0.8232 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005948/0.7185, allocations: 280.7 kB / 0.8234 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.7186, allocations: 36.2 kB / 0.8235 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7186, allocations: 7.938 kB / 0.8235 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.7186, allocations: 4 kB / 0.8235 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.7187, allocations: 27.98 kB / 0.8235 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.7188, allocations: 7.938 kB / 0.8235 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.719, allocations: 48.06 kB / 0.8236 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.719, allocations: 12 kB / 0.8236 GB, free: 12.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001472/0.7192, allocations: 129.8 kB / 0.8237 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.7192, allocations: 12.27 kB / 0.8237 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.7193, allocations: 16.77 kB / 0.8237 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7193, allocations: 3.984 kB / 0.8237 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7193, allocations: 0 / 0.8237 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.7193, allocations: 7.875 kB / 0.8237 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.7199, allocations: 342.1 kB / 0.8241 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7199, allocations: 0 / 0.8241 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.72, allocations: 11.98 kB / 0.8241 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.72, allocations: 0 / 0.8241 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.72, allocations: 4 kB / 0.8241 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.72, allocations: 3.938 kB / 0.8241 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.72, allocations: 0 / 0.8241 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.7206, allocations: 247.3 kB / 0.8243 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.7206, allocations: 11.89 kB / 0.8243 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.7206, allocations: 0 / 0.8243 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.7207, allocations: 11.97 kB / 0.8243 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.7208, allocations: 11.98 kB / 0.8244 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7208, allocations: 4 kB / 0.8244 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.506e-05/0.7209, allocations: 107.2 kB / 0.8245 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7209, allocations: 0 / 0.8245 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003261/0.7212, allocations: 31.95 kB / 0.8245 GB, free: 11.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002253/0.7214, allocations: 107.2 kB / 0.8246 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.7219, allocations: 196.9 kB / 0.8248 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7219, allocations: 0 / 0.8248 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.7221, allocations: 43.89 kB / 0.8248 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.7224, allocations: 25.05 kB / 0.8248 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.7231, allocations: 265 kB / 0.8251 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.7232, allocations: 89.62 kB / 0.8252 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.329e-05/0.7233, allocations: 16.64 kB / 0.8252 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.7233, allocations: 15.44 kB / 0.8252 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.7233, allocations: 0 / 0.8252 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of Templates: time 0.005908/0.7292, allocations: 1.823 MB / 0.827 GB, free: 8.652 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.003269312903285] Failed to read output from testmodel.py, exit status != 0: 0.7386726345866919 0.755103474 0.039664176 Calling exit ...