Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001735/0.001735, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002774/0.002774, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.344/1.344, allocations: 203.8 MB / 0.5042 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [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.002214/0.002214, allocations: 67.91 kB / 0.7187 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7096, allocations: 102 MB / 0.8183 GB, free: 28.97 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.00253/0.7121, allocations: 0.7242 MB / 0.819 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.7141, allocations: 1.168 MB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.7142, allocations: 5.125 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.7142, allocations: 4.969 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.7143, allocations: 14.94 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.7149, allocations: 132.7 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.7151, allocations: 120.5 kB / 0.8204 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.7152, allocations: 13.78 kB / 0.8204 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.7154, allocations: 54.55 kB / 0.8204 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.7155, allocations: 37.12 kB / 0.8205 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.7155, allocations: 10.69 kB / 0.8205 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.242e-05/0.7156, allocations: 22.95 kB / 0.8205 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.7157, allocations: 17.16 kB / 0.8205 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.7157, allocations: 34.14 kB / 0.8206 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.716, allocations: 110.6 kB / 0.8207 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.716, allocations: 1.094 kB / 0.8207 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.604e-06/0.716, allocations: 1.531 kB / 0.8207 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.716, allocations: 0 / 0.8207 GB, free: 27.47 MB / 0.6387 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.0006488/0.7167, allocations: 337.5 kB / 0.821 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7167, allocations: 10.5 kB / 0.821 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.7168, allocations: 8.094 kB / 0.821 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.7169, allocations: 124 kB / 0.8211 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.7169, allocations: 8.156 kB / 0.8211 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.7169, allocations: 7.703 kB / 0.8211 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.7172, allocations: 63.08 kB / 0.8212 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.7172, allocations: 9.719 kB / 0.8212 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.7172, allocations: 5.938 kB / 0.8212 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7172, allocations: 1.625 kB / 0.8212 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.7174, allocations: 42.84 kB / 0.8213 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.718, allocations: 256.1 kB / 0.8215 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.7183, allocations: 57.8 kB / 0.8216 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.7184, allocations: 37.78 kB / 0.8216 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.7184, allocations: 2.719 kB / 0.8216 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.7187, allocations: 93.31 kB / 0.8217 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.7187, allocations: 0 / 0.8217 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0006831/0.7194, allocations: 143.3 kB / 0.8218 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.7195, allocations: 58.08 kB / 0.8219 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7196, allocations: 125.2 kB / 0.822 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.7196, allocations: 29.73 kB / 0.822 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.7197, allocations: 89.73 kB / 0.8221 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.7197, allocations: 20.33 kB / 0.8221 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.7198, allocations: 41.77 kB / 0.8222 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.7199, allocations: 320.1 kB / 0.8225 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.7201, allocations: 82.97 kB / 0.8226 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.7204, allocations: 116.2 kB / 0.8227 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.7207, allocations: 150.8 kB / 0.8228 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.7207, allocations: 0 / 0.8228 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006016/0.7213, allocations: 238.4 kB / 0.823 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.7214, allocations: 34.39 kB / 0.8231 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7214, allocations: 2.156 kB / 0.8231 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.7214, allocations: 3.438 kB / 0.8231 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.7215, allocations: 19.45 kB / 0.8231 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.7215, allocations: 2.562 kB / 0.8231 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.7218, allocations: 38.77 kB / 0.8231 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.7218, allocations: 8.203 kB / 0.8231 GB, free: 25.47 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001129/0.722, allocations: 132.2 kB / 0.8233 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.722, allocations: 7.172 kB / 0.8233 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.722, allocations: 7.281 kB / 0.8233 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.722, allocations: 0 / 0.8233 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.722, allocations: 1.75 kB / 0.8233 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.722, allocations: 4.688 kB / 0.8233 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.7225, allocations: 321.5 kB / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7225, allocations: 1.125 kB / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.7226, allocations: 8.906 kB / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7226, allocations: 0.6562 kB / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.7226, allocations: 1.531 kB / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7226, allocations: 4.594 kB / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7226, allocations: 0 / 0.8236 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.723, allocations: 210 kB / 0.8238 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.723, allocations: 15.27 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.723, allocations: 2.203 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.7231, allocations: 10.89 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.7232, allocations: 6.422 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.7232, allocations: 2.75 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.7233, allocations: 91.33 kB / 0.8239 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7233, allocations: 0 / 0.8239 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004136/0.7237, allocations: 25.33 kB / 0.824 GB, free: 24.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 0.0001565/0.7238, allocations: 101.4 kB / 0.8241 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.7244, allocations: 207.7 kB / 0.8243 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7244, allocations: 1.312 kB / 0.8243 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.7246, allocations: 31.08 kB / 0.8243 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.725, allocations: 13.02 kB / 0.8243 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.7254, allocations: 168.4 kB / 0.8245 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.825e-05/0.7255, allocations: 79.59 kB / 0.8245 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.7256, allocations: 9.922 kB / 0.8245 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.7256, allocations: 11.38 kB / 0.8246 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.7256, allocations: 0 / 0.8246 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of Templates: time 0.006515/0.7321, allocations: 1.611 MB / 0.8261 GB, free: 24.14 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.96094124391675] Failed to read output from testmodel.py, exit status != 0: 0.7413080502301455 0.755322465 0.036209085 Calling exit ...