Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0007083/0.0007083, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007529/0.0007529, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8618/0.8618, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6812/0.6812, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.85e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001067/0.001085, allocations: 0.6426 MB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002128, allocations: 1.221 MB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.002168, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.002195, allocations: 3.938 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.002259, allocations: 15.86 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.002705, allocations: 209.5 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.002868, allocations: 167.7 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.002953, allocations: 19.97 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.00305, allocations: 87.88 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.003146, allocations: 55.84 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.003172, allocations: 16 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.003227, allocations: 27.92 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.003248, allocations: 11.98 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.003302, allocations: 47.95 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.00349, allocations: 183.5 kB / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003492, allocations: 0 / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003493, allocations: 0 / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003496, allocations: 0 / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003978/0.003894, allocations: 365.6 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.003928, allocations: 8.031 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.003974, allocations: 12.89 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.004046, allocations: 109.7 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.004059, allocations: 4.375 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.004079, allocations: 8.375 kB / 0.6224 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.004171, allocations: 54.17 kB / 0.6225 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004179, allocations: 4.188 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.004187, allocations: 384 / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.004191, allocations: 384 / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.004224, allocations: 27.86 kB / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.004547, allocations: 268.5 kB / 0.6228 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.004608, allocations: 30.52 kB / 0.6228 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.004627, allocations: 16.86 kB / 0.6228 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.004637, allocations: 4.078 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.004742, allocations: 83.25 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.004743, allocations: 0 / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001911/0.004934, allocations: 113.5 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.004966, allocations: 55.41 kB / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.005027, allocations: 113.8 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.005051, allocations: 41.69 kB / 0.6232 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.005093, allocations: 88.09 kB / 0.6233 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.005107, allocations: 19.84 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.005163, allocations: 45.69 kB / 0.6234 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.005237, allocations: 322.8 kB / 0.6237 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.005346, allocations: 119.4 kB / 0.6238 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.005462, allocations: 155.7 kB / 0.6239 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.005579, allocations: 155.6 kB / 0.6241 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.005582, allocations: 4 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000278/0.00586, allocations: 332.2 kB / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.005897, allocations: 67.86 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005902, allocations: 7.938 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.005912, allocations: 0 / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.55e-05/0.005928, allocations: 4 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005933, allocations: 0 / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.006114, allocations: 56 kB / 0.6245 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.006134, allocations: 11.98 kB / 0.6246 GB, free: 7.527 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.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 (9): * Single equations (assignments): 7 * 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 6.756e-05/0.006201, allocations: 126.8 kB / 0.6247 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.006208, allocations: 7.891 kB / 0.6247 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.006229, allocations: 12.42 kB / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006231, allocations: 0 / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.006235, allocations: 0 / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006239, allocations: 3.938 kB / 0.6247 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.502e-05/0.006314, allocations: 125.4 kB / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006315, allocations: 4 kB / 0.6248 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-06/0.00632, allocations: 3.938 kB / 0.6248 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.006322, allocations: 3.938 kB / 0.6248 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.00633, allocations: 7.984 kB / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006331, allocations: 0 / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006332, allocations: 0 / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.73e-05/0.006429, allocations: 105.1 kB / 0.6249 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.006693, allocations: 7.984 kB / 0.6249 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006704, allocations: 3.938 kB / 0.6249 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.006716, allocations: 8 kB / 0.625 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.006746, allocations: 7.984 kB / 0.625 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.00675, allocations: 0 / 0.625 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.006782, allocations: 95.2 kB / 0.6251 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006782, allocations: 4 kB / 0.6251 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001511/0.006933, allocations: 35.89 kB / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001002/0.007033, allocations: 95.25 kB / 0.6252 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.007266, allocations: 282.1 kB / 0.6255 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007268, allocations: 256 / 0.6255 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.007299, allocations: 31.98 kB / 0.6255 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.007469, allocations: 18.39 kB / 0.6255 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.007717, allocations: 191.7 kB / 0.6257 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.007754, allocations: 67.34 kB / 0.6257 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.007771, allocations: 12.5 kB / 0.6258 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of SimCode: time 6.02e-07/0.007771, allocations: 0 / 0.6258 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of Templates: time 0.001979/0.00975, allocations: 1.397 MB / 0.6271 GB, free: 4.758 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.828297309577465] Failed to read output from testmodel.py, exit status != 0: 0.014178110286593437 0.022140884000000003 0.017038301000000002 Calling exit ...