Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001459/0.001459, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001809/0.001809, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.317/1.317, allocations: 203.5 MB / 0.5038 GB, free: 4.945 MB / 414.1 MB " [Timeout remaining time 178] 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.002086/0.002086, allocations: 75.88 kB / 0.7183 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6842, allocations: 102 MB / 0.8179 GB, free: 29.11 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00232/0.6865, allocations: 0.7353 MB / 0.8186 GB, free: 28.67 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.6883, allocations: 1.27 MB / 0.8198 GB, free: 27.76 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.6884, allocations: 1.5 kB / 0.8198 GB, free: 27.76 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 4.743e-05/0.6885, allocations: 16.45 kB / 0.8198 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.6886, allocations: 15.31 kB / 0.8199 GB, free: 27.74 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008401/0.6894, allocations: 256.2 kB / 0.8201 GB, free: 27.61 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.6899, allocations: 259.1 kB / 0.8203 GB, free: 27.51 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.6901, allocations: 47.7 kB / 0.8204 GB, free: 27.48 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.6903, allocations: 104.4 kB / 0.8205 GB, free: 27.44 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.6905, allocations: 87.39 kB / 0.8206 GB, free: 27.41 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.6906, allocations: 27.77 kB / 0.8206 GB, free: 27.41 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.6907, allocations: 33.98 kB / 0.8206 GB, free: 27.41 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.6907, allocations: 37.02 kB / 0.8207 GB, free: 27.39 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.6909, allocations: 89.17 kB / 0.8208 GB, free: 27.34 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.6913, allocations: 245.1 kB / 0.821 GB, free: 27.27 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6913, allocations: 0 / 0.821 GB, free: 27.27 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6913, allocations: 4.594 kB / 0.821 GB, free: 27.26 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6913, allocations: 0.9688 kB / 0.821 GB, free: 27.26 MB / 0.6388 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.0007009/0.692, allocations: 427.2 kB / 0.8214 GB, free: 26.88 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.692, allocations: 9.219 kB / 0.8214 GB, free: 26.88 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.831e-05/0.6921, allocations: 20.83 kB / 0.8214 GB, free: 26.88 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.6927, allocations: 185.4 kB / 0.8216 GB, free: 26.72 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.6927, allocations: 14.7 kB / 0.8216 GB, free: 26.71 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.6928, allocations: 22.62 kB / 0.8216 GB, free: 26.71 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.6931, allocations: 127.1 kB / 0.8218 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6931, allocations: 3.938 kB / 0.8218 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.6931, allocations: 7.344 kB / 0.8218 GB, free: 26.64 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6932, allocations: 8.016 kB / 0.8218 GB, free: 26.64 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.6933, allocations: 75.41 kB / 0.8219 GB, free: 26.61 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.6939, allocations: 347.2 kB / 0.8222 GB, free: 26.35 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.6941, allocations: 80.59 kB / 0.8223 GB, free: 26.31 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.6942, allocations: 33.78 kB / 0.8223 GB, free: 26.29 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.6942, allocations: 5.062 kB / 0.8223 GB, free: 26.29 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.6945, allocations: 140.8 kB / 0.8224 GB, free: 26.21 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.6945, allocations: 0 / 0.8224 GB, free: 26.21 MB / 0.6388 GB Notification: Performance of matching and sorting (n=16): time 0.0004943/0.695, allocations: 239.7 kB / 0.8227 GB, free: 26.12 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.6951, allocations: 60.59 kB / 0.8227 GB, free: 26.05 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6952, allocations: 138.5 kB / 0.8229 GB, free: 25.94 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.6952, allocations: 34.67 kB / 0.8229 GB, free: 25.9 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.6953, allocations: 107.4 kB / 0.823 GB, free: 25.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.6953, allocations: 43.09 kB / 0.823 GB, free: 25.77 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.6954, allocations: 69.52 kB / 0.8231 GB, free: 25.74 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.144e-05/0.6955, allocations: 320.9 kB / 0.8234 GB, free: 25.42 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.6957, allocations: 126.9 kB / 0.8235 GB, free: 25.34 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.6958, allocations: 189.9 kB / 0.8237 GB, free: 25.17 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.6961, allocations: 219.3 kB / 0.8239 GB, free: 24.99 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.6961, allocations: 0.9688 kB / 0.8239 GB, free: 24.99 MB / 0.6388 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005651/0.6966, allocations: 369.3 kB / 0.8243 GB, free: 24.76 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.6967, allocations: 71.62 kB / 0.8243 GB, free: 24.69 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6967, allocations: 2.906 kB / 0.8243 GB, free: 24.69 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.6967, allocations: 3.453 kB / 0.8243 GB, free: 24.69 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.6968, allocations: 9.5 kB / 0.8243 GB, free: 24.68 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.6968, allocations: 3.984 kB / 0.8244 GB, free: 24.68 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.6972, allocations: 68.89 kB / 0.8244 GB, free: 24.66 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.6972, allocations: 15.11 kB / 0.8244 GB, free: 24.66 MB / 0.6388 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 0.0001412/0.6973, allocations: 138.5 kB / 0.8246 GB, free: 24.54 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.6974, allocations: 15.05 kB / 0.8246 GB, free: 24.53 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.6974, allocations: 11.61 kB / 0.8246 GB, free: 24.52 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6974, allocations: 2.062 kB / 0.8246 GB, free: 24.52 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6974, allocations: 4.562 kB / 0.8246 GB, free: 24.52 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6974, allocations: 1.969 kB / 0.8246 GB, free: 24.52 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.698, allocations: 421.5 kB / 0.825 GB, free: 24.22 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.698, allocations: 0 / 0.825 GB, free: 24.22 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.698, allocations: 7.031 kB / 0.825 GB, free: 24.21 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.698, allocations: 1.312 kB / 0.825 GB, free: 24.21 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.698, allocations: 8.828 kB / 0.825 GB, free: 24.21 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.698, allocations: 2.359 kB / 0.825 GB, free: 24.21 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.698, allocations: 0 / 0.825 GB, free: 24.21 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.6984, allocations: 292.2 kB / 0.8253 GB, free: 24.03 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.6985, allocations: 12.84 kB / 0.8253 GB, free: 24.02 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.6985, allocations: 11.41 kB / 0.8253 GB, free: 24.01 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.6985, allocations: 3.422 kB / 0.8253 GB, free: 24.01 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.6986, allocations: 15.33 kB / 0.8253 GB, free: 24.01 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.6986, allocations: 9.625 kB / 0.8253 GB, free: 24.01 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.6987, allocations: 102.9 kB / 0.8254 GB, free: 23.92 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.6987, allocations: 3.938 kB / 0.8254 GB, free: 23.92 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0003275/0.699, allocations: 48.09 kB / 0.8255 GB, free: 23.91 MB / 0.6388 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.0001638/0.6992, allocations: 113.7 kB / 0.8256 GB, free: 23.81 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.6996, allocations: 330.2 kB / 0.8259 GB, free: 23.57 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6996, allocations: 0 / 0.8259 GB, free: 23.57 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.6997, allocations: 53.64 kB / 0.826 GB, free: 23.56 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.7001, allocations: 27.91 kB / 0.826 GB, free: 23.55 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.7006, allocations: 272.1 kB / 0.8263 GB, free: 23.36 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.639e-05/0.7007, allocations: 100.8 kB / 0.8264 GB, free: 23.28 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.7007, allocations: 10.94 kB / 0.8264 GB, free: 23.28 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.7008, allocations: 13.73 kB / 0.8264 GB, free: 23.27 MB / 0.6388 GB Notification: Performance of SimCode: time 2.9e-07/0.7008, allocations: 1.375 kB / 0.8264 GB, free: 23.27 MB / 0.6388 GB Notification: Performance of Templates: time 0.006826/0.7076, allocations: 2.4 MB / 0.8287 GB, free: 22.98 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.100984420627356] Failed to read output from testmodel.py, exit status != 0: 0.7168086469173431 0.73181309 0.037508252 Calling exit ...