Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.001365/0.001365, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001426/0.001426, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.464/1.464, 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.233/1.233, allocations: 154.6 MB / 413.7 MB, free: 5.297 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.488e-06/4.488e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.329e-05/4.778e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001996/0.002044, allocations: 0.6654 MB / 0.6192 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.004056, allocations: 1.279 MB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.004112, allocations: 4 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.004146, allocations: 12.48 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.82e-05/0.004244, allocations: 21.05 kB / 0.6205 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.005167, allocations: 309.6 kB / 0.6208 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.005568, allocations: 263.5 kB / 0.621 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.005713, allocations: 20.11 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.005954, allocations: 139.8 kB / 0.6212 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.006172, allocations: 71.88 kB / 0.6212 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.006234, allocations: 24 kB / 0.6213 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.006348, allocations: 43.91 kB / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.006379, allocations: 7.984 kB / 0.6213 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.006522, allocations: 75.88 kB / 0.6214 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.006954, allocations: 271.3 kB / 0.6216 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.006959, allocations: 3.938 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00696, allocations: 4 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.006965, allocations: 0 / 0.6216 GB, free: 1.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008181/0.007783, allocations: 423.1 kB / 0.622 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.00785, allocations: 9.469 kB / 0.6221 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.00794, allocations: 16.89 kB / 0.6221 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.008078, allocations: 121.7 kB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.008112, allocations: 8.375 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.00817, allocations: 28.28 kB / 0.6222 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.00834, allocations: 58.23 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.00835, allocations: 192 / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.008365, allocations: 8.375 kB / 0.6223 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.008375, allocations: 4.125 kB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.008435, allocations: 19.98 kB / 0.6223 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.00904, allocations: 308.4 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.009125, allocations: 34.5 kB / 0.6226 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.009166, allocations: 20.94 kB / 0.6227 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.009177, allocations: 0 / 0.6227 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.009376, allocations: 103.2 kB / 0.6228 GB, free: 204 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.009378, allocations: 4 kB / 0.6228 GB, free: 200 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003325/0.00971, allocations: 141.5 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.009774, allocations: 63.39 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.00991, allocations: 132.3 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.00996, allocations: 33.7 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01007, allocations: 100.2 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.0101, allocations: 23.84 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.01038, allocations: 65.67 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.01054, allocations: 322.8 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.01081, allocations: 177.4 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.0111, allocations: 227.1 kB / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.0114, allocations: 239 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01141, allocations: 0 / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007138/0.01212, allocations: 479.5 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.01222, allocations: 97.08 kB / 0.6248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.01223, allocations: 4.188 kB / 0.6248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.01225, allocations: 4 kB / 0.6248 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.01228, allocations: 7.938 kB / 0.6248 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01229, allocations: 4 kB / 0.6248 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.01278, allocations: 83.8 kB / 0.6249 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.01282, allocations: 15.98 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001454/0.01297, allocations: 134.8 kB / 0.625 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.01299, allocations: 11.89 kB / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.01302, allocations: 8.438 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01303, allocations: 4 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01303, allocations: 0 / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01303, allocations: 0 / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.01318, allocations: 129.3 kB / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01319, allocations: 0 / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.0132, allocations: 3.938 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.0132, allocations: 3.938 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.01322, allocations: 11.98 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01322, allocations: 4 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01322, allocations: 0 / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.01343, allocations: 137 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01345, allocations: 15.84 kB / 0.6253 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01348, allocations: 11.92 kB / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.0135, allocations: 0 / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.01355, allocations: 11.98 kB / 0.6253 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01356, allocations: 4 kB / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.01364, allocations: 95.27 kB / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01364, allocations: 4 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002595/0.01389, allocations: 40 kB / 0.6255 GB, free: 13.13 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.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): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002268/0.01412, allocations: 114 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.01471, allocations: 411.2 kB / 0.626 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01471, allocations: 3.938 kB / 0.626 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.01478, allocations: 39.91 kB / 0.626 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.01505, allocations: 27.17 kB / 0.6261 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.01548, allocations: 189.6 kB / 0.6262 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.725e-05/0.01556, allocations: 75.89 kB / 0.6263 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.01559, allocations: 12.48 kB / 0.6263 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.01562, allocations: 12.5 kB / 0.6263 GB, free: 12.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.01562, allocations: 0 / 0.6263 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Templates: time 0.006871/0.02249, allocations: 2.902 MB / 0.6292 GB, free: 9.336 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.854504257440567] Failed to read output from testmodel.py, exit status != 0: 0.0312630869448185 0.051818583 0.040417730000000006 Calling exit ...