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.0008841/0.0008841, 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.0009754/0.0009754, 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.8813/0.8813, allocations: 177.2 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.7257/0.7257, allocations: 154.6 MB / 413.7 MB, free: 0.793 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 2.826e-06/2.826e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.43e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001374/0.001399, allocations: 0.6329 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002651, allocations: 1.217 MB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.002698, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.002731, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.399e-05/0.002805, allocations: 7.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.003318, allocations: 220.3 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.003525, allocations: 171.7 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.003619, allocations: 11.98 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.003751, allocations: 99.86 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.003872, allocations: 51.84 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.003903, allocations: 12 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.003979, allocations: 35.92 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.004007, allocations: 11.88 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.004079, allocations: 47.95 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.004301, allocations: 183.5 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004304, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.004306, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.004311, allocations: 4 kB / 0.6207 GB, free: 10.97 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.0004615/0.004773, allocations: 357.6 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.004816, allocations: 8.031 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.004846, allocations: 34.75 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.004889, allocations: 8.891 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.004976, allocations: 105.8 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.004991, allocations: 8.375 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.005013, allocations: 16.36 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005122, allocations: 50.17 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.00513, allocations: 192 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.005139, allocations: 384 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.005146, allocations: 8.125 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.005186, allocations: 19.98 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.005606, allocations: 295.9 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.147e-05/0.005677, allocations: 30.67 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.005702, allocations: 24.78 kB / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.005713, allocations: 3.938 kB / 0.6217 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.005865, allocations: 71.38 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005866, allocations: 3.938 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002106/0.006076, allocations: 105.6 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.006116, allocations: 55.34 kB / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.006193, allocations: 133.7 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.006218, allocations: 29.7 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.006273, allocations: 92.12 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.006291, allocations: 19.89 kB / 0.6222 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.006352, allocations: 45.69 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.006437, allocations: 318.8 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.006556, allocations: 115.4 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.006681, allocations: 163.2 kB / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.006811, allocations: 159.6 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.006815, allocations: 3.938 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003053/0.00712, allocations: 324.2 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.007171, allocations: 67.39 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.007178, allocations: 4 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007191, allocations: 0 / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.007215, allocations: 11.94 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007221, allocations: 3.984 kB / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.007431, allocations: 56 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.00745, allocations: 8 kB / 0.6234 GB, free: 7.957 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 8.246e-05/0.007533, allocations: 126.8 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.007544, allocations: 7.953 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.00757, allocations: 12.91 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007572, allocations: 0 / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.007579, allocations: 4.062 kB / 0.6235 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007583, allocations: 4 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.007679, allocations: 148.7 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00768, allocations: 3.938 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-06/0.007687, allocations: 3.938 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.00769, allocations: 4 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.007698, allocations: 4 kB / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007699, allocations: 0 / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0077, allocations: 0 / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.007813, allocations: 109 kB / 0.6238 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.007821, allocations: 11.89 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.007835, allocations: 11.98 kB / 0.6238 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.00785, allocations: 0 / 0.6238 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.007886, allocations: 4 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.007893, allocations: 7.984 kB / 0.6238 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.00793, allocations: 91.22 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00793, allocations: 0 / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005452/0.008475, allocations: 35.98 kB / 0.6239 GB, free: 7.305 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.000344/0.008819, allocations: 0.6437 MB / 0.6246 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.009089, allocations: 282.7 kB / 0.6248 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009091, allocations: 0 / 0.6248 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.009125, allocations: 19.94 kB / 0.6249 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.009337, allocations: 24.06 kB / 0.6249 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.01091, allocations: 1.961 MB / 0.6268 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.01098, allocations: 67.34 kB / 0.6269 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.01102, allocations: 8.062 kB / 0.6269 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.01108, allocations: 24.48 kB / 0.6269 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of SimCode: time 7.11e-07/0.01108, allocations: 96 / 0.6269 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.02834, allocations: 3.743 MB / 0.6305 GB, free: 488 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.833, allocations: 7.438 kB / 0.6306 GB, free: 484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.462132152169943] Failed to read output from testmodel.py, exit status != 0: 6.9169511226937175 6.926802624 6.920604822 Calling exit ...