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.001406/0.001406, allocations: 83.81 kB / 19.16 MB, free: 2.535 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.001489/0.001489, allocations: 165.6 kB / 22.44 MB, free: 5.348 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.39/1.39, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 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 1.183/1.183, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.002175/0.002175, allocations: 66.25 kB / 0.6191 GB, free: 4.168 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5057, allocations: 102 MB / 0.7187 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001853/0.5076, allocations: 0.714 MB / 0.7194 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.5089, allocations: 1.185 MB / 0.7206 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.509, allocations: 1.219 kB / 0.7206 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.509, allocations: 4.5 kB / 0.7206 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.5091, allocations: 7.812 kB / 0.7206 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.5096, allocations: 139.8 kB / 0.7207 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.5098, allocations: 116.2 kB / 0.7209 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.5098, allocations: 20.53 kB / 0.7209 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.51, allocations: 67.31 kB / 0.7209 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.5101, allocations: 37.89 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.5101, allocations: 10.66 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.5102, allocations: 26.42 kB / 0.721 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.5102, allocations: 13.28 kB / 0.721 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.5103, allocations: 37.03 kB / 0.7211 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.5105, allocations: 137.3 kB / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5105, allocations: 0 / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5105, allocations: 1.156 kB / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.5105, allocations: 0 / 0.7212 GB, free: 184 kB / 0.6075 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.0005678/0.511, allocations: 344.5 kB / 0.7215 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5111, allocations: 11.38 kB / 0.7215 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.5111, allocations: 9.328 kB / 0.7215 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5112, allocations: 116.5 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.5113, allocations: 4.438 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.5113, allocations: 10.97 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.5115, allocations: 59.83 kB / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5115, allocations: 192 / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5115, allocations: 13.03 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5115, allocations: 5.891 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.5117, allocations: 37.38 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.5122, allocations: 267.3 kB / 0.722 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.5124, allocations: 53.27 kB / 0.7221 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5125, allocations: 34.44 kB / 0.7221 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.5125, allocations: 4.906 kB / 0.7221 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.5128, allocations: 91.22 kB / 0.7222 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.5128, allocations: 1.5 kB / 0.7222 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0004712/0.5132, allocations: 138.1 kB / 0.7223 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5133, allocations: 57.53 kB / 0.7224 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5134, allocations: 116.9 kB / 0.7225 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.5134, allocations: 34.2 kB / 0.7225 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.5135, allocations: 93.36 kB / 0.7226 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5135, allocations: 19.81 kB / 0.7227 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.5136, allocations: 38.14 kB / 0.7227 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5137, allocations: 319.7 kB / 0.723 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.5139, allocations: 78.59 kB / 0.7231 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.5141, allocations: 121.3 kB / 0.7232 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.5144, allocations: 146.3 kB / 0.7233 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5144, allocations: 0 / 0.7233 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000493/0.5149, allocations: 243.1 kB / 0.7236 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.515, allocations: 35.09 kB / 0.7236 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.515, allocations: 4.984 kB / 0.7236 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.515, allocations: 9.844 kB / 0.7236 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.5151, allocations: 11.36 kB / 0.7236 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5151, allocations: 2.125 kB / 0.7236 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.5153, allocations: 42.69 kB / 0.7237 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.5153, allocations: 12.36 kB / 0.7237 GB, free: 14.15 MB / 0.6231 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.0001076/0.5154, allocations: 123.2 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.5154, allocations: 11.89 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.5155, allocations: 14.56 kB / 0.7238 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5155, allocations: 1.125 kB / 0.7238 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5155, allocations: 0 / 0.7238 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5155, allocations: 5.938 kB / 0.7238 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.516, allocations: 314.2 kB / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.516, allocations: 0 / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.5161, allocations: 12.45 kB / 0.7241 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5161, allocations: 1.219 kB / 0.7241 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.5161, allocations: 5.828 kB / 0.7241 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5161, allocations: 0.8438 kB / 0.7241 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5161, allocations: 0 / 0.7241 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.5164, allocations: 218.6 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.5164, allocations: 6.188 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.5164, allocations: 2.094 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.5165, allocations: 7.125 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.5165, allocations: 10.16 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.5166, allocations: 3.281 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.5166, allocations: 94.59 kB / 0.7245 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5166, allocations: 0 / 0.7245 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002584/0.5169, allocations: 21.12 kB / 0.7245 GB, free: 13.48 MB / 0.6231 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.0001619/0.517, allocations: 110.2 kB / 0.7246 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.5175, allocations: 196.3 kB / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5175, allocations: 0 / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.5177, allocations: 37.05 kB / 0.7248 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.518, allocations: 14.91 kB / 0.7248 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.5184, allocations: 164.1 kB / 0.725 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.748e-05/0.5185, allocations: 71.88 kB / 0.725 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.5185, allocations: 13.5 kB / 0.7251 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.5186, allocations: 20.38 kB / 0.7251 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.5186, allocations: 0 / 0.7251 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of Templates: time 0.004892/0.5235, allocations: 1.586 MB / 0.7266 GB, free: 12.82 MB / 0.6231 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.052895657718182] Failed to read output from testmodel.py, exit status != 0: 0.5319255273789167 0.545768577 0.032390072 Calling exit ...