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.0007742/0.0007742, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008383/0.0008383, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8887/0.8887, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7235/0.7235, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.44e-05, allocations: 8.375 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00125/0.001275, allocations: 0.6321 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.00235, allocations: 1.225 MB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.002388, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.002415, allocations: 3.938 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.002478, allocations: 11.88 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.002949, allocations: 211.9 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003112, allocations: 179.6 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.00321, allocations: 8 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.003324, allocations: 99.78 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.003423, allocations: 51.91 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.003449, allocations: 16 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.003507, allocations: 24 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003528, allocations: 11.92 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.003582, allocations: 47.95 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.003757, allocations: 183.5 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.00376, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003762, allocations: 4 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003765, allocations: 0 / 0.6207 GB, free: 10.92 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.0004038/0.004169, allocations: 357.6 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.004208, allocations: 12.02 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.004233, allocations: 34.75 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.004272, allocations: 12.89 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.004349, allocations: 113.7 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.004362, allocations: 4.375 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.004382, allocations: 16.38 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.004476, allocations: 50.17 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004483, allocations: 4.188 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.004491, allocations: 384 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004496, allocations: 4.125 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.004528, allocations: 15.98 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.004884, allocations: 288 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.004948, allocations: 30.52 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.004969, allocations: 16.94 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.00498, allocations: 11.88 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.005141, allocations: 79.36 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.005142, allocations: 0 / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003322/0.005474, allocations: 109.6 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.005509, allocations: 55.41 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.005577, allocations: 125.7 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.005598, allocations: 29.7 kB / 0.6221 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.005644, allocations: 92.14 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.005657, allocations: 11.89 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.00572, allocations: 57.67 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.005792, allocations: 314.8 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.005905, allocations: 119.4 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.006021, allocations: 159.7 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.006157, allocations: 163.5 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.006161, allocations: 3.938 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002937/0.006454, allocations: 324.2 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.006497, allocations: 67.39 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.006502, allocations: 0 / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.006515, allocations: 4 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.006534, allocations: 4.125 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.00654, allocations: 4 kB / 0.6233 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.006732, allocations: 59.86 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.006752, allocations: 8.469 kB / 0.6234 GB, free: 7.902 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,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 7.623e-05/0.006828, allocations: 126.8 kB / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.006838, allocations: 15.88 kB / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.006865, allocations: 12.44 kB / 0.6235 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.006869, allocations: 4 kB / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.006874, allocations: 3.938 kB / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.006877, allocations: 0 / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.452e-05/0.006971, allocations: 148.7 kB / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006972, allocations: 0 / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.006978, allocations: 0 / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.00698, allocations: 0 / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006987, allocations: 4 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006988, allocations: 0 / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006989, allocations: 3.938 kB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007102, allocations: 121 kB / 0.6238 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.007111, allocations: 7.953 kB / 0.6238 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.007122, allocations: 0 / 0.6238 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.007138, allocations: 3.984 kB / 0.6238 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.007173, allocations: 11.94 kB / 0.6238 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.007179, allocations: 4 kB / 0.6238 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.007213, allocations: 91.27 kB / 0.6239 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007213, allocations: 0 / 0.6239 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001623/0.007375, allocations: 27.94 kB / 0.6239 GB, free: 7.254 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,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 0.0003709/0.007746, allocations: 0.6554 MB / 0.6246 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.008035, allocations: 282.1 kB / 0.6249 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.008037, allocations: 0 / 0.6249 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.008071, allocations: 20.41 kB / 0.6249 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.008284, allocations: 21.23 kB / 0.6249 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.009809, allocations: 1.958 MB / 0.6268 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.009852, allocations: 71.69 kB / 0.6269 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.009882, allocations: 7.938 kB / 0.6269 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.00992, allocations: 20.48 kB / 0.6269 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/0.009921, allocations: 0 / 0.6269 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.02973, allocations: 3.748 MB / 0.6306 GB, free: 428 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.163, allocations: 8 kB / 0.6306 GB, free: 420 kB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.881931609474123] Failed to read output from testmodel.py, exit status != 0: 7.24407028593123 7.256895459 7.251144477 Calling exit ...