Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.0007933/0.0007933, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0008519/0.0008519, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8589/0.8589, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.6856/0.6856, 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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.828 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.717e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001004/0.001021, allocations: 0.5803 MB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.001973, allocations: 1.143 MB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.002007, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.002033, allocations: 7.938 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.151e-05/0.002084, allocations: 7.938 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.002438, allocations: 130.3 kB / 0.6212 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.002555, allocations: 79.89 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.00263, allocations: 4 kB / 0.6213 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.002701, allocations: 51.89 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.00277, allocations: 23.95 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.002789, allocations: 8 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.757e-05/0.002837, allocations: 27.94 kB / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.002853, allocations: 3.984 kB / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.002892, allocations: 31.91 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.003021, allocations: 91.83 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003022, allocations: 0 / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003023, allocations: 0 / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003027, allocations: 0 / 0.6215 GB, free: 11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003275/0.003354, allocations: 296 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.003385, allocations: 8.031 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.003421, allocations: 8.891 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.687e-05/0.003488, allocations: 105.8 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.003501, allocations: 12.31 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.003513, allocations: 4.375 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.935e-05/0.003583, allocations: 38.25 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.00359, allocations: 192 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.003599, allocations: 4.375 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.003602, allocations: 384 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.003634, allocations: 15.92 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.003886, allocations: 216.5 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.003924, allocations: 26.52 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.003936, allocations: 8.922 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.003942, allocations: 7.938 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/0.004029, allocations: 67.28 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.00403, allocations: 0 / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.004171, allocations: 65.61 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.0042, allocations: 51.41 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.509e-05/0.004255, allocations: 101.9 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.004272, allocations: 29.7 kB / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.004306, allocations: 88.12 kB / 0.6226 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.004316, allocations: 11.94 kB / 0.6226 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.004354, allocations: 29.7 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.004425, allocations: 318.8 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.004484, allocations: 57.67 kB / 0.623 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.004545, allocations: 80.27 kB / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.004611, allocations: 88.42 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004613, allocations: 0 / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001558/0.004769, allocations: 176.9 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.004795, allocations: 41.64 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.0048, allocations: 320 / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004811, allocations: 8.094 kB / 0.6234 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.368e-05/0.004825, allocations: 4 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00483, allocations: 0 / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.004942, allocations: 27.91 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.004956, allocations: 11.98 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.468e-05/0.00501, allocations: 114.8 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.005016, allocations: 3.938 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.005033, allocations: 7.625 kB / 0.6235 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.005036, allocations: 4 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.005039, allocations: 4 kB / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005042, allocations: 0 / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.745e-05/0.005099, allocations: 105.3 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.0051, allocations: 0 / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.005102, allocations: 0 / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.005105, allocations: 7.984 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.00511, allocations: 3.938 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005111, allocations: 3.938 kB / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005112, allocations: 0 / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.736e-05/0.005179, allocations: 81.08 kB / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.005183, allocations: 0 / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.005192, allocations: 7.938 kB / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-06/0.005199, allocations: 4 kB / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.005221, allocations: 7.984 kB / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.005223, allocations: 0 / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.005248, allocations: 83.22 kB / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005248, allocations: 0 / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001346/0.005383, allocations: 16 kB / 0.6238 GB, free: 8.281 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.222e-05/0.005475, allocations: 107.2 kB / 0.6239 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.005617, allocations: 133.1 kB / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.005618, allocations: 0 / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.00564, allocations: 19.92 kB / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.005768, allocations: 4 kB / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.00597, allocations: 146.6 kB / 0.6242 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.006004, allocations: 59.36 kB / 0.6243 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.006019, allocations: 16.48 kB / 0.6243 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.00602, allocations: 0 / 0.6243 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of Templates: time 0.001532/0.007551, allocations: 0.8766 MB / 0.6252 GB, free: 6.867 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7878066170960665] Failed to read output from testmodel.py, exit status != 0: 0.011563797481358051 0.018981736000000003 0.014408989 Calling exit ...