Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.0007355/0.0007355, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007694/0.0007694, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8618/0.8618, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.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: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 0.7309/0.7309, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 MB / 410.7 MB " [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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [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.0009043/0.0009043, allocations: 71.89 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4255, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00157/0.4271, allocations: 0.7581 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.4283, allocations: 1.284 MB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.4284, allocations: 3.062 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.4284, allocations: 14.11 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.4285, allocations: 16.3 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.4291, allocations: 257.7 kB / 0.8214 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.4295, allocations: 258.8 kB / 0.8216 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.4296, allocations: 52.58 kB / 0.8217 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.4297, allocations: 105.5 kB / 0.8218 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4299, allocations: 104.9 kB / 0.8219 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.4299, allocations: 24.62 kB / 0.8219 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.43, allocations: 39.47 kB / 0.8219 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.43, allocations: 36.17 kB / 0.822 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.4301, allocations: 99.86 kB / 0.8221 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.4304, allocations: 248.9 kB / 0.8223 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4304, allocations: 1.156 kB / 0.8223 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4304, allocations: 0 / 0.8223 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.4304, allocations: 0 / 0.8223 GB, free: 23.33 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004588/0.4308, allocations: 422.5 kB / 0.8227 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4309, allocations: 11.69 kB / 0.8227 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.4309, allocations: 22.7 kB / 0.8227 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.4313, allocations: 181.4 kB / 0.8229 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4313, allocations: 14.5 kB / 0.8229 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.4313, allocations: 22.73 kB / 0.8229 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.4315, allocations: 128.5 kB / 0.8231 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4316, allocations: 5.062 kB / 0.8231 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4316, allocations: 8.188 kB / 0.8231 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4316, allocations: 2.281 kB / 0.8231 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.4317, allocations: 75.72 kB / 0.8232 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.4322, allocations: 422.1 kB / 0.8236 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4323, allocations: 86.62 kB / 0.8236 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.4323, allocations: 33.39 kB / 0.8237 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.4323, allocations: 1.453 kB / 0.8237 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.4326, allocations: 138.3 kB / 0.8238 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.4326, allocations: 7.5 kB / 0.8238 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004332/0.433, allocations: 237.5 kB / 0.824 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.4331, allocations: 55.94 kB / 0.8241 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.4331, allocations: 137.9 kB / 0.8242 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4331, allocations: 37.89 kB / 0.8243 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.4332, allocations: 113.2 kB / 0.8244 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.4332, allocations: 33.61 kB / 0.8244 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.4333, allocations: 69.05 kB / 0.8245 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.4333, allocations: 323.1 kB / 0.8248 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4334, allocations: 66.83 kB / 0.8248 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4336, allocations: 131.9 kB / 0.825 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.4337, allocations: 215 kB / 0.8252 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4337, allocations: 1.031 kB / 0.8252 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003125/0.434, allocations: 317 kB / 0.8255 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.4341, allocations: 62.72 kB / 0.8255 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4341, allocations: 10.61 kB / 0.8255 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4341, allocations: 4.328 kB / 0.8255 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.4341, allocations: 13.14 kB / 0.8256 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4341, allocations: 3.453 kB / 0.8256 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.4343, allocations: 56.2 kB / 0.8256 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.4343, allocations: 19.31 kB / 0.8256 GB, free: 20.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 7.65e-05/0.4344, allocations: 137.9 kB / 0.8258 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.4344, allocations: 15.31 kB / 0.8258 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.4344, allocations: 11.53 kB / 0.8258 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4344, allocations: 1.469 kB / 0.8258 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4344, allocations: 1.641 kB / 0.8258 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4344, allocations: 0.6562 kB / 0.8258 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.4348, allocations: 462.7 kB / 0.8262 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4348, allocations: 4 kB / 0.8262 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/0.4348, allocations: 7.781 kB / 0.8262 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4348, allocations: 0 / 0.8262 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4348, allocations: 9.641 kB / 0.8263 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4348, allocations: 8.734 kB / 0.8263 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4348, allocations: 1.125 kB / 0.8263 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.435, allocations: 286.7 kB / 0.8265 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.435, allocations: 8.172 kB / 0.8265 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.435, allocations: 11.59 kB / 0.8266 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.435, allocations: 2.891 kB / 0.8266 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.4351, allocations: 16.95 kB / 0.8266 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4351, allocations: 8.453 kB / 0.8266 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.4351, allocations: 100.2 kB / 0.8267 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4351, allocations: 3.938 kB / 0.8267 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002072/0.4353, allocations: 52.7 kB / 0.8267 GB, free: 20.09 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001089/0.4354, allocations: 109 kB / 0.8268 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.4357, allocations: 270 kB / 0.8271 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4357, allocations: 0 / 0.8271 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.4358, allocations: 53.94 kB / 0.8271 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.436, allocations: 32.61 kB / 0.8272 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.4364, allocations: 290.5 kB / 0.8275 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.964e-05/0.4365, allocations: 0.7073 MB / 0.8281 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.4365, allocations: 15.06 kB / 0.8282 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4365, allocations: 0 / 0.8282 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.003351/0.4399, allocations: 1.997 MB / 0.8301 GB, free: 18.68 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.550336671993136] Failed to read output from testmodel.py, exit status != 0: 0.4450887150596827 0.453019304 0.020923425000000002 Calling exit ...