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.0007941/0.0007941, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0008004/0.0008004, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9072/0.9072, allocations: 177.2 MB / 203.6 MB, free: 5.785 MB / 186.7 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7159/0.7159, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 378.7 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 179] 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: 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.0009886/0.0009886, allocations: 71.89 kB / 0.6199 GB, free: 12.82 MB / 0.5886 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.4912/0.4922, allocations: 102 MB / 0.7194 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001396/0.4936, allocations: 0.668 MB / 0.7201 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4947, allocations: 1.288 MB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.4948, allocations: 1.031 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.4948, allocations: 5.016 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.4949, allocations: 28.84 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.4955, allocations: 301.5 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.4957, allocations: 262 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4959, allocations: 15.23 kB / 0.7219 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.496, allocations: 146.7 kB / 0.7221 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.4961, allocations: 77.67 kB / 0.7222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.4962, allocations: 22.66 kB / 0.7222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.4963, allocations: 39.73 kB / 0.7222 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.4963, allocations: 11.97 kB / 0.7222 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.4964, allocations: 81.38 kB / 0.7223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.4966, allocations: 220.4 kB / 0.7225 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4966, allocations: 3.938 kB / 0.7225 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4966, allocations: 0 / 0.7225 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4966, allocations: 4.906 kB / 0.7225 GB, free: 21.65 MB / 0.6355 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.0004231/0.4971, allocations: 421 kB / 0.7229 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4971, allocations: 14.44 kB / 0.7229 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.4972, allocations: 16.17 kB / 0.723 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.369e-05/0.4972, allocations: 120.1 kB / 0.7231 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4972, allocations: 12.47 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.4973, allocations: 13.61 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.4974, allocations: 60.28 kB / 0.7232 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4974, allocations: 4.922 kB / 0.7232 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4974, allocations: 1.094 kB / 0.7232 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4974, allocations: 1.062 kB / 0.7232 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.4974, allocations: 18.2 kB / 0.7232 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.4978, allocations: 316.4 kB / 0.7235 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.4979, allocations: 36.66 kB / 0.7235 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.4979, allocations: 19.38 kB / 0.7235 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.4979, allocations: 0 / 0.7235 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.4981, allocations: 105 kB / 0.7236 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.4981, allocations: 0 / 0.7236 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002561/0.4983, allocations: 143.9 kB / 0.7238 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.4983, allocations: 60.03 kB / 0.7238 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.4984, allocations: 137.9 kB / 0.724 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.4984, allocations: 36.11 kB / 0.724 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.4985, allocations: 102.7 kB / 0.7241 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.4985, allocations: 21.34 kB / 0.7241 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.4986, allocations: 66.77 kB / 0.7242 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.4986, allocations: 322.1 kB / 0.7245 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.4988, allocations: 179.7 kB / 0.7247 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.499, allocations: 222.7 kB / 0.7249 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4991, allocations: 248.4 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4991, allocations: 0.9375 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004292/0.4996, allocations: 472.2 kB / 0.7256 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.4996, allocations: 100.6 kB / 0.7256 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4996, allocations: 3.188 kB / 0.7257 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4996, allocations: 2.344 kB / 0.7257 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.686e-05/0.4997, allocations: 8.656 kB / 0.7257 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4997, allocations: 10.38 kB / 0.7257 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.5, allocations: 80.09 kB / 0.7257 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.5, allocations: 20.73 kB / 0.7258 GB, free: 19 MB / 0.6355 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 6.849e-05/0.5001, allocations: 131.7 kB / 0.7259 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.5001, allocations: 11.98 kB / 0.7259 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.5001, allocations: 11.12 kB / 0.7259 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.5001, allocations: 1.25 kB / 0.7259 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5001, allocations: 1.312 kB / 0.7259 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5001, allocations: 1.031 kB / 0.7259 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.317e-05/0.5002, allocations: 134.2 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5002, allocations: 0.5156 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.5002, allocations: 6.844 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5002, allocations: 5.953 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.5002, allocations: 2.031 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5002, allocations: 1.312 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5002, allocations: 4.703 kB / 0.7261 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.5003, allocations: 145.5 kB / 0.7262 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.5003, allocations: 11.17 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.5004, allocations: 1.844 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.779e-05/0.5004, allocations: 6.047 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.5004, allocations: 7.188 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.5004, allocations: 4.531 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.5005, allocations: 98.56 kB / 0.7263 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5005, allocations: 1.25 kB / 0.7263 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001879/0.5006, allocations: 51.61 kB / 0.7264 GB, free: 18.51 MB / 0.6355 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.0001063/0.5007, allocations: 104.4 kB / 0.7265 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.5011, allocations: 416.7 kB / 0.7269 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5011, allocations: 3.938 kB / 0.7269 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.5011, allocations: 32.23 kB / 0.7269 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.5013, allocations: 38.27 kB / 0.7269 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.5016, allocations: 184.6 kB / 0.7271 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.47e-05/0.5017, allocations: 81.16 kB / 0.7272 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.5017, allocations: 8.594 kB / 0.7272 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.5017, allocations: 14.09 kB / 0.7272 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.5017, allocations: 3.938 kB / 0.7272 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.004822/0.5065, allocations: 2.941 MB / 0.7301 GB, free: 17.46 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.173211968038231] Failed to read output from testmodel.py, exit status != 0: 0.5127990370383486 0.520601366 0.022132198000000002 Calling exit ...