Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009126/0.0009126, allocations: 80.45 kB / 19.9 MB, free: 12 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.001107/0.001107, 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.9478/0.9478, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7129/0.7129, allocations: 154.7 MB / 414.7 MB, free: 0.7461 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.001321/0.001321, allocations: 63.89 kB / 0.6195 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.5417/0.5431, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001613/0.5447, allocations: 0.6771 MB / 0.7198 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.5461, allocations: 1.298 MB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.5462, allocations: 1.156 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.5462, allocations: 4.547 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.5463, allocations: 22.33 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.547, allocations: 307.3 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.5474, allocations: 265.1 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5475, allocations: 10.75 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.5477, allocations: 140.5 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.5478, allocations: 81.52 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.5479, allocations: 23.28 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.548, allocations: 42.48 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.548, allocations: 15.05 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.5481, allocations: 73.5 kB / 0.722 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.5484, allocations: 221.3 kB / 0.7222 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5484, allocations: 0 / 0.7222 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5484, allocations: 4 kB / 0.7222 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.5484, allocations: 5.281 kB / 0.7222 GB, free: 21.8 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.0005218/0.5489, allocations: 424.4 kB / 0.7226 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.549, allocations: 9.125 kB / 0.7226 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.5491, allocations: 16.55 kB / 0.7226 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.5492, allocations: 116.2 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5492, allocations: 12.39 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.5492, allocations: 17.91 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.5494, allocations: 57.52 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5494, allocations: 3.938 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.5494, allocations: 8 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5494, allocations: 1.219 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.5494, allocations: 18.12 kB / 0.7229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.55, allocations: 308.5 kB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.55, allocations: 36.67 kB / 0.7232 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.5501, allocations: 18.38 kB / 0.7232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.5501, allocations: 0 / 0.7232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.5503, allocations: 101.6 kB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.5503, allocations: 1.094 kB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003296/0.5506, allocations: 146.9 kB / 0.7234 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.5506, allocations: 54.41 kB / 0.7235 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.5507, allocations: 142.4 kB / 0.7236 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.5508, allocations: 31.05 kB / 0.7237 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.5508, allocations: 106.5 kB / 0.7238 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.5508, allocations: 20.81 kB / 0.7238 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5509, allocations: 67.38 kB / 0.7238 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.551, allocations: 321.8 kB / 0.7241 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.5512, allocations: 174.7 kB / 0.7243 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.5514, allocations: 227.2 kB / 0.7245 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.5516, allocations: 241.5 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5516, allocations: 5.156 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004587/0.5521, allocations: 476.1 kB / 0.7252 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.5521, allocations: 96.86 kB / 0.7253 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5521, allocations: 11.44 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5521, allocations: 1.875 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.442e-05/0.5522, allocations: 3.922 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5522, allocations: 10.38 kB / 0.7253 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.5525, allocations: 83.31 kB / 0.7254 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.5525, allocations: 18.28 kB / 0.7254 GB, free: 19.15 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 7.862e-05/0.5526, allocations: 139.9 kB / 0.7256 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.5526, allocations: 8.297 kB / 0.7256 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.5526, allocations: 11.23 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5526, allocations: 2.062 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5527, allocations: 0 / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5527, allocations: 0.75 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.5527, allocations: 131.6 kB / 0.7257 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5527, allocations: 0 / 0.7257 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-06/0.5527, allocations: 6.25 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5527, allocations: 6.047 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.5528, allocations: 2.547 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.5528, allocations: 0 / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5528, allocations: 1.688 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.5529, allocations: 148.8 kB / 0.7259 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.5529, allocations: 6.891 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5529, allocations: 1.844 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.5529, allocations: 1.719 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.553, allocations: 11.5 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.553, allocations: 5.578 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.553, allocations: 106.8 kB / 0.726 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.553, allocations: 0 / 0.726 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001977/0.5532, allocations: 47.22 kB / 0.726 GB, free: 18.66 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.0001216/0.5533, allocations: 102.2 kB / 0.7261 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.5537, allocations: 420.5 kB / 0.7265 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5537, allocations: 0 / 0.7265 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.5537, allocations: 35.77 kB / 0.7266 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.554, allocations: 31.88 kB / 0.7266 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.5544, allocations: 192.1 kB / 0.7268 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.5544, allocations: 81.61 kB / 0.7269 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.5545, allocations: 7.828 kB / 0.7269 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.5545, allocations: 15.02 kB / 0.7269 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.5545, allocations: 4 kB / 0.7269 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.005915/0.5604, allocations: 2.933 MB / 0.7298 GB, free: 17.61 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.441429909085855] Failed to read output from testmodel.py, exit status != 0: 0.5677717210492119 0.575730166 0.025248867 Calling exit ...