Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.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.0006841/0.0006841, allocations: 76.44 kB / 19.91 MB, free: 16 kB / 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.0007055/0.0007055, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8183/0.8183, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.6744/0.6744, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [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.0008044/0.0008044, allocations: 71.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.391, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00126/0.3923, allocations: 0.6296 MB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.3933, allocations: 1.213 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.3933, allocations: 0 / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.3933, allocations: 4.922 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.3934, allocations: 15.53 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.3939, allocations: 223.2 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3941, allocations: 173.1 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.3942, allocations: 13.73 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3943, allocations: 93.23 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3944, allocations: 55.5 kB / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.3944, allocations: 15.09 kB / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.3945, allocations: 28.94 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3945, allocations: 9.016 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.3945, allocations: 51.45 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3948, allocations: 189.9 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3948, allocations: 8.781 kB / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3948, allocations: 0 / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3948, allocations: 0 / 0.7218 GB, free: 22.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00037/0.3951, allocations: 358.2 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3952, allocations: 10.38 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.3952, allocations: 11.56 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.533e-05/0.3953, allocations: 116.2 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3953, allocations: 5.078 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3953, allocations: 9.562 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.3954, allocations: 54.41 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3954, allocations: 192 / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3954, allocations: 13.48 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3954, allocations: 0 / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.3955, allocations: 14.23 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3958, allocations: 266.9 kB / 0.7226 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.3959, allocations: 34.48 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.3959, allocations: 17.94 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3959, allocations: 5.5 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.396, allocations: 77.78 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.396, allocations: 5.062 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002081/0.3962, allocations: 108.1 kB / 0.7228 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3962, allocations: 54.05 kB / 0.7229 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.3963, allocations: 120.3 kB / 0.723 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3963, allocations: 30.75 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.3964, allocations: 96.7 kB / 0.7231 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.3964, allocations: 18.27 kB / 0.7231 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.3964, allocations: 47.45 kB / 0.7232 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.321e-05/0.3965, allocations: 318.4 kB / 0.7235 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3966, allocations: 117.2 kB / 0.7236 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3967, allocations: 155 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3968, allocations: 166.5 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3968, allocations: 1.188 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002782/0.3971, allocations: 324.2 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.3971, allocations: 65.02 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3971, allocations: 1.188 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3972, allocations: 10.36 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.3972, allocations: 14.28 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3972, allocations: 3.375 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.3974, allocations: 55.02 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3974, allocations: 12.66 kB / 0.7243 GB, free: 19.77 MB / 0.6355 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,nand1.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 5.49e-05/0.3975, allocations: 124 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.3975, allocations: 11.36 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.3975, allocations: 6.312 kB / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3975, allocations: 6.016 kB / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3975, allocations: 1.125 kB / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3975, allocations: 0 / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.801e-05/0.3976, allocations: 120.2 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3976, allocations: 1.969 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.3976, allocations: 5.031 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3976, allocations: 0.9844 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.3976, allocations: 2.125 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3976, allocations: 0.9844 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3976, allocations: 1.125 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.3977, allocations: 126.8 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.3977, allocations: 5.922 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.3977, allocations: 1.844 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.3977, allocations: 5.766 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3977, allocations: 5.203 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.3977, allocations: 7.625 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.3978, allocations: 91.12 kB / 0.7248 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3978, allocations: 0 / 0.7248 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001556/0.3979, allocations: 31.33 kB / 0.7249 GB, free: 19.3 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.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 9.429e-05/0.398, allocations: 108.7 kB / 0.725 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3982, allocations: 276.1 kB / 0.7252 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3982, allocations: 0 / 0.7252 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.3983, allocations: 25.88 kB / 0.7253 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3984, allocations: 17.72 kB / 0.7253 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.3987, allocations: 185.6 kB / 0.7255 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.3987, allocations: 81.95 kB / 0.7255 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.3987, allocations: 11.94 kB / 0.7256 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.3987, allocations: 1.031 kB / 0.7256 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.002344/0.4011, allocations: 1.407 MB / 0.7269 GB, free: 18.58 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.293910233071074] Failed to read output from testmodel.py, exit status != 0: 0.4069851809181273 0.415319498 0.018944455000000002 Calling exit ...