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.001227/0.001227, allocations: 82.56 kB / 19.18 MB, free: 2.363 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.001339/0.001339, allocations: 170.7 kB / 22.46 MB, free: 4.988 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.415/1.415, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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.153/1.153, allocations: 154.7 MB / 413.9 MB, free: 5.16 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.6188 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.821e-05, allocations: 2.781 kB / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001848/0.001876, allocations: 0.7294 MB / 0.6195 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.003753, allocations: 1.27 MB / 0.6207 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.003831, allocations: 4 kB / 0.6207 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/0.003879, allocations: 15.8 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.003969, allocations: 15.86 kB / 0.6207 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.00473, allocations: 260.9 kB / 0.621 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.005068, allocations: 259.6 kB / 0.6212 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.005213, allocations: 37.28 kB / 0.6213 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.005409, allocations: 143.8 kB / 0.6214 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.005558, allocations: 87.72 kB / 0.6215 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.005604, allocations: 24 kB / 0.6215 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.005688, allocations: 39.94 kB / 0.6216 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.005737, allocations: 35.89 kB / 0.6216 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.005844, allocations: 83.84 kB / 0.6217 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.006201, allocations: 283.2 kB / 0.6219 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.006205, allocations: 4 kB / 0.6219 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006206, allocations: 0 / 0.6219 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.006212, allocations: 0 / 0.6219 GB, free: 1.281 MB / 0.5294 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.0007019/0.006914, allocations: 437 kB / 0.6224 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.00695, allocations: 8.031 kB / 0.6224 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.007015, allocations: 16.89 kB / 0.6224 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.007539, allocations: 181.7 kB / 0.6226 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.007564, allocations: 16.38 kB / 0.6226 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.007611, allocations: 24.36 kB / 0.6226 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.007848, allocations: 126.5 kB / 0.6227 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.007857, allocations: 192 / 0.6227 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.007877, allocations: 12.36 kB / 0.6227 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007883, allocations: 4.125 kB / 0.6227 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.008012, allocations: 63.97 kB / 0.6228 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.008571, allocations: 360 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.00874, allocations: 86.47 kB / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.008802, allocations: 36.83 kB / 0.6233 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.008813, allocations: 4 kB / 0.6233 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.009077, allocations: 129.9 kB / 0.6234 GB, free: 15.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.009079, allocations: 0 / 0.6234 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0004407/0.00952, allocations: 245.4 kB / 0.6236 GB, free: 15.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.009569, allocations: 59.41 kB / 0.6237 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.009691, allocations: 141.7 kB / 0.6238 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.009725, allocations: 33.7 kB / 0.6238 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.009812, allocations: 116.7 kB / 0.624 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.009842, allocations: 31.75 kB / 0.624 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.009961, allocations: 69.67 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.0101, allocations: 318.8 kB / 0.6244 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.01028, allocations: 135.3 kB / 0.6245 GB, free: 14.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.01049, allocations: 183.1 kB / 0.6247 GB, free: 14.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.01075, allocations: 229.2 kB / 0.6249 GB, free: 14.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01075, allocations: 4 kB / 0.6249 GB, free: 14.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005172/0.01127, allocations: 368.4 kB / 0.6252 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.01133, allocations: 71.39 kB / 0.6253 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01134, allocations: 4 kB / 0.6253 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.01136, allocations: 3.938 kB / 0.6253 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.618e-05/0.01138, allocations: 4 kB / 0.6253 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01139, allocations: 7.938 kB / 0.6253 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.01171, allocations: 63.83 kB / 0.6254 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.01174, allocations: 15.98 kB / 0.6254 GB, free: 13.44 MB / 0.545 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.0001255/0.01186, allocations: 142.8 kB / 0.6255 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.01188, allocations: 7.953 kB / 0.6255 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.01192, allocations: 12.78 kB / 0.6255 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01192, allocations: 3.938 kB / 0.6256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01192, allocations: 3.938 kB / 0.6256 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01193, allocations: 4 kB / 0.6256 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.01238, allocations: 418 kB / 0.626 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01239, allocations: 0 / 0.626 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.0124, allocations: 12 kB / 0.626 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.0124, allocations: 0 / 0.626 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.01243, allocations: 15.92 kB / 0.626 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01243, allocations: 3.938 kB / 0.626 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01243, allocations: 0 / 0.626 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01275, allocations: 286.3 kB / 0.6263 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.01276, allocations: 11.95 kB / 0.6263 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.01279, allocations: 11.92 kB / 0.6263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.01285, allocations: 3.938 kB / 0.6263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.01289, allocations: 15.97 kB / 0.6263 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.01292, allocations: 8 kB / 0.6263 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.01298, allocations: 105.8 kB / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01298, allocations: 0 / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003071/0.01329, allocations: 55.88 kB / 0.6265 GB, free: 12.28 MB / 0.545 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.0001516/0.01344, allocations: 104.4 kB / 0.6266 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.0139, allocations: 330 kB / 0.6269 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0139, allocations: 0 / 0.6269 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.801e-05/0.014, allocations: 60.41 kB / 0.6269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.0143, allocations: 22.17 kB / 0.627 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.01478, allocations: 262 kB / 0.6272 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.01488, allocations: 98.7 kB / 0.6273 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.01492, allocations: 13.16 kB / 0.6273 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.01494, allocations: 20.5 kB / 0.6273 GB, free: 11.3 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.01495, allocations: 0 / 0.6273 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Templates: time 0.005706/0.02065, allocations: 2.328 MB / 0.6296 GB, free: 9.035 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.568091647699475] Failed to read output from testmodel.py, exit status != 0: 0.02863120473921299 0.04296656 0.033746186000000004 Calling exit ...