Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001802/0.001802, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.002185/0.002185, allocations: 167.6 kB / 22.46 MB, free: 5.371 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.278/1.278, allocations: 154.6 MB / 413.7 MB, free: 5.312 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.359e-06/4.359e-06, allocations: 3.984 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.314e-05, allocations: 8.172 kB / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.002031/0.002065, allocations: 0.6346 MB / 0.6192 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.003959, allocations: 1.209 MB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.004007, allocations: 0 / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.004043, allocations: 7.875 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.222e-05/0.004116, allocations: 7.922 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.004874, allocations: 224.5 kB / 0.6206 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.005154, allocations: 171.7 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005268, allocations: 8 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.005437, allocations: 95.86 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.005584, allocations: 47.91 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.005634, allocations: 16 kB / 0.6209 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.005727, allocations: 31.92 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.005753, allocations: 7.938 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.005844, allocations: 59.94 kB / 0.621 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.006158, allocations: 179.6 kB / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006162, allocations: 0 / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006163, allocations: 0 / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.006167, allocations: 0 / 0.6212 GB, free: 1.941 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006467/0.006814, allocations: 357.5 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.006856, allocations: 13.47 kB / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.006928, allocations: 12.89 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.007061, allocations: 113.7 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.007091, allocations: 12.36 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.007134, allocations: 16.36 kB / 0.6217 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.007282, allocations: 50.19 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007292, allocations: 192 / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007303, allocations: 384 / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.007307, allocations: 4.375 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.007356, allocations: 19.92 kB / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.007866, allocations: 268.5 kB / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/0.007964, allocations: 30.58 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.008007, allocations: 20.88 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.00802, allocations: 4 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.008229, allocations: 83.3 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.00823, allocations: 4 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0003064/0.008536, allocations: 101.6 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.008587, allocations: 59.33 kB / 0.6223 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.008712, allocations: 121.8 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.008751, allocations: 33.7 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.008832, allocations: 92.09 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.008852, allocations: 15.84 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.008956, allocations: 53.61 kB / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.009134, allocations: 318.8 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.009334, allocations: 119.4 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.009552, allocations: 155.7 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.009778, allocations: 164 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00978, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005247/0.0103, allocations: 324.2 kB / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.01037, allocations: 67.39 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01038, allocations: 0 / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01039, allocations: 8.125 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-05/0.01042, allocations: 3.938 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01043, allocations: 7.984 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.0108, allocations: 51.89 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.01083, allocations: 12 kB / 0.6237 GB, free: 14.99 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001198/0.01095, allocations: 122.8 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.01097, allocations: 15.95 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.011, allocations: 12.44 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.011, allocations: 4 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01101, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01101, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.01113, allocations: 113.3 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.01113, allocations: 4 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.01114, allocations: 7.922 kB / 0.624 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01114, allocations: 3.938 kB / 0.624 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.01115, allocations: 4 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01115, allocations: 4 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01116, allocations: 4 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01132, allocations: 105.1 kB / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.01133, allocations: 0 / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01135, allocations: 11.94 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.01137, allocations: 0 / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.01142, allocations: 7.984 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.01142, allocations: 0 / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.01149, allocations: 99.14 kB / 0.6242 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01149, allocations: 0 / 0.6242 GB, free: 14.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002748/0.01176, allocations: 35.94 kB / 0.6243 GB, free: 14.38 MB / 0.545 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001869/0.01195, allocations: 107.2 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.01235, allocations: 278.1 kB / 0.6246 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01236, allocations: 0 / 0.6246 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.01241, allocations: 23.97 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01265, allocations: 11.98 kB / 0.6247 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.01302, allocations: 161.3 kB / 0.6248 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.0131, allocations: 75.58 kB / 0.6249 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.01313, allocations: 4 kB / 0.6249 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.01315, allocations: 12.5 kB / 0.6249 GB, free: 13.63 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.01315, allocations: 0 / 0.6249 GB, free: 13.63 MB / 0.545 GB Notification: Performance of Templates: time 0.006116/0.01927, allocations: 2.044 MB / 0.6269 GB, free: 11.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.998767986893654] Failed to read output from testmodel.py, exit status != 0: 0.028619475662708282 0.045022807000000005 0.035564577 Calling exit ...