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.000761/0.000761, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007846/0.0007846, allocations: 210.4 kB / 23 MB, free: 2.977 MB / 13.93 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.89/0.89, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.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.7679/0.7679, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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.0009111/0.0009111, allocations: 66.16 kB / 0.719 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4336, allocations: 102 MB / 0.8186 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001247/0.4349, allocations: 0.6751 MB / 0.8193 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.4358, allocations: 1.282 MB / 0.8205 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.4358, allocations: 3.938 kB / 0.8205 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.4359, allocations: 8.531 kB / 0.8205 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.4359, allocations: 21.64 kB / 0.8206 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.4365, allocations: 307.5 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.4367, allocations: 255.4 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.4368, allocations: 14.06 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.4369, allocations: 102.3 kB / 0.8212 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.437, allocations: 82.73 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.437, allocations: 21.41 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.4371, allocations: 40.25 kB / 0.8213 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.4371, allocations: 14.42 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.4372, allocations: 82.11 kB / 0.8214 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.4374, allocations: 221.5 kB / 0.8216 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4374, allocations: 3.719 kB / 0.8217 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4374, allocations: 0 / 0.8217 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.4374, allocations: 0.5156 kB / 0.8217 GB, free: 15.6 MB / 0.6198 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.0004345/0.4379, allocations: 418 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.4379, allocations: 14.06 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.4379, allocations: 17.81 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.438, allocations: 121.4 kB / 0.8222 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4381, allocations: 12.3 kB / 0.8222 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4381, allocations: 14.08 kB / 0.8222 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.4382, allocations: 60.23 kB / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4382, allocations: 3.938 kB / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.4382, allocations: 2.141 kB / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4382, allocations: 0 / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.4382, allocations: 23.42 kB / 0.8223 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.4386, allocations: 311 kB / 0.8226 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.4387, allocations: 37.42 kB / 0.8226 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.4387, allocations: 17 kB / 0.8227 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4387, allocations: 2.031 kB / 0.8227 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.4388, allocations: 107 kB / 0.8228 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.4388, allocations: 0 / 0.8228 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002331/0.4391, allocations: 143 kB / 0.8229 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.4391, allocations: 54.06 kB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.4392, allocations: 140.9 kB / 0.8231 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.4392, allocations: 38.08 kB / 0.8231 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.4393, allocations: 99.3 kB / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.4393, allocations: 23.05 kB / 0.8232 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.4394, allocations: 64.55 kB / 0.8233 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.4394, allocations: 320.3 kB / 0.8236 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4396, allocations: 181.1 kB / 0.8238 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.4398, allocations: 226.6 kB / 0.824 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.44, allocations: 248 kB / 0.8242 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.44, allocations: 5.156 kB / 0.8242 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004189/0.4404, allocations: 464.8 kB / 0.8247 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.4404, allocations: 101.4 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4404, allocations: 1.406 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4404, allocations: 2.656 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.86e-05/0.4405, allocations: 7.828 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4405, allocations: 2.406 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4407, allocations: 80.47 kB / 0.8249 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.4408, allocations: 21.09 kB / 0.8249 GB, free: 12.96 MB / 0.6198 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.637e-05/0.4408, allocations: 135.5 kB / 0.825 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.4409, allocations: 16.08 kB / 0.825 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.4409, allocations: 11.64 kB / 0.825 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4409, allocations: 1.5 kB / 0.825 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4409, allocations: 0.6562 kB / 0.825 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4409, allocations: 1.953 kB / 0.825 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.162e-05/0.441, allocations: 134.6 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.441, allocations: 0 / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.441, allocations: 2.547 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.441, allocations: 1.125 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.441, allocations: 2.578 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.441, allocations: 1.031 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.441, allocations: 0.5625 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.4411, allocations: 148.8 kB / 0.8253 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.4411, allocations: 8.047 kB / 0.8253 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4411, allocations: 2.797 kB / 0.8253 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.4411, allocations: 12.48 kB / 0.8253 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.4412, allocations: 8.547 kB / 0.8254 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4412, allocations: 7.672 kB / 0.8254 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.4412, allocations: 99.02 kB / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4412, allocations: 0 / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001719/0.4414, allocations: 48.33 kB / 0.8255 GB, free: 12.46 MB / 0.6198 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.0001077/0.4415, allocations: 109.4 kB / 0.8256 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.4418, allocations: 414.9 kB / 0.826 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4418, allocations: 1.406 kB / 0.826 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.4419, allocations: 37.06 kB / 0.826 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.4421, allocations: 25.88 kB / 0.8261 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.4424, allocations: 225.4 kB / 0.8263 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.4425, allocations: 80.83 kB / 0.8264 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.4425, allocations: 13.62 kB / 0.8264 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.4425, allocations: 0 / 0.8264 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.003026/0.4455, allocations: 1.905 MB / 0.8282 GB, free: 11.54 MB / 0.6198 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.609190469607711] Failed to read output from testmodel.py, exit status != 0: 0.45057147089391947 0.46001130799999995 0.020720935000000003 Calling exit ...