Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008072/0.0008072, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008009/0.0008009, allocations: 162 kB / 22.43 MB, free: 2.145 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.8901/0.8901, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6981/0.6981, allocations: 155 MB / 414.2 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [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.0008665/0.0008665, allocations: 63 kB / 0.6187 GB, free: 13.2 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4117/0.4126, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00154/0.4141, allocations: 0.6358 MB / 0.7189 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.4156, allocations: 1.209 MB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.4156, allocations: 1.125 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.4157, allocations: 3.938 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.229e-05/0.4158, allocations: 15.83 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.4164, allocations: 215 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.4167, allocations: 172.9 kB / 0.7204 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4168, allocations: 13.77 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.417, allocations: 93.89 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.4171, allocations: 52.5 kB / 0.7206 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.4172, allocations: 19.25 kB / 0.7206 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.4172, allocations: 31.42 kB / 0.7206 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.4173, allocations: 9.109 kB / 0.7207 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.4173, allocations: 52.61 kB / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.4176, allocations: 189.7 kB / 0.7209 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4176, allocations: 0 / 0.7209 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.066e-06/0.4176, allocations: 0 / 0.7209 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4176, allocations: 1.312 kB / 0.7209 GB, free: 21.48 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.0004319/0.418, allocations: 357.9 kB / 0.7212 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4181, allocations: 10.97 kB / 0.7212 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.4181, allocations: 37.12 kB / 0.7213 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.4181, allocations: 12.03 kB / 0.7213 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.6e-05/0.4182, allocations: 119.8 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.4182, allocations: 9.719 kB / 0.7214 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4183, allocations: 9.406 kB / 0.7214 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.4184, allocations: 54.55 kB / 0.7215 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4184, allocations: 7.875 kB / 0.7215 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4184, allocations: 0 / 0.7215 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4184, allocations: 1.688 kB / 0.7215 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.463e-05/0.4184, allocations: 18.14 kB / 0.7215 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4188, allocations: 294.3 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.4189, allocations: 30.58 kB / 0.7218 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.4189, allocations: 19.31 kB / 0.7218 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.4189, allocations: 3.938 kB / 0.7218 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.4191, allocations: 78.69 kB / 0.7219 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4191, allocations: 0 / 0.7219 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002197/0.4193, allocations: 109.9 kB / 0.722 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4193, allocations: 57.31 kB / 0.7221 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.4194, allocations: 116.3 kB / 0.7222 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4194, allocations: 34.61 kB / 0.7222 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.4195, allocations: 93.89 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.4195, allocations: 18.86 kB / 0.7223 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.4195, allocations: 53.64 kB / 0.7224 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.4196, allocations: 322.4 kB / 0.7227 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.4197, allocations: 121.8 kB / 0.7228 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4198, allocations: 153.4 kB / 0.7229 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4199, allocations: 159.6 kB / 0.7231 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4199, allocations: 0.75 kB / 0.7231 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002929/0.4202, allocations: 324.9 kB / 0.7234 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.4203, allocations: 72.36 kB / 0.7235 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4203, allocations: 1.312 kB / 0.7235 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4203, allocations: 2.906 kB / 0.7235 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.966e-05/0.4203, allocations: 6 kB / 0.7235 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4203, allocations: 2.188 kB / 0.7235 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4205, allocations: 52.48 kB / 0.7235 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.4205, allocations: 19.69 kB / 0.7236 GB, free: 19.14 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 6.417e-05/0.4206, allocations: 127.7 kB / 0.7237 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.4206, allocations: 10.97 kB / 0.7237 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.4206, allocations: 10.69 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4206, allocations: 1 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4206, allocations: 2.016 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4206, allocations: 0 / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.458e-05/0.4207, allocations: 146.8 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4207, allocations: 0 / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-06/0.4207, allocations: 10.5 kB / 0.7238 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4207, allocations: 4.812 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.4207, allocations: 2.281 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4207, allocations: 1.125 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4207, allocations: 0 / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.4209, allocations: 114.9 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.4209, allocations: 2.219 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4209, allocations: 2.938 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.598e-05/0.4209, allocations: 5.156 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.4209, allocations: 5.047 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4209, allocations: 3.969 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.421, allocations: 94.08 kB / 0.7241 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.421, allocations: 0 / 0.7241 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001673/0.4211, allocations: 43.34 kB / 0.7241 GB, free: 18.64 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 0.0002396/0.4214, allocations: 0.648 MB / 0.7247 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.4216, allocations: 275.1 kB / 0.725 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4216, allocations: 1.312 kB / 0.725 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.4216, allocations: 28.05 kB / 0.725 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.4218, allocations: 20.31 kB / 0.7251 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4232, allocations: 1.958 MB / 0.727 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.4232, allocations: 68.5 kB / 0.727 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.4232, allocations: 9.922 kB / 0.727 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.4233, allocations: 25.98 kB / 0.7271 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4233, allocations: 0 / 0.7271 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.4417, allocations: 3.764 MB / 0.7307 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.424/6.866, allocations: 1.875 kB / 0.7307 GB, free: 14.93 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.499757735058665] Failed to read output from testmodel.py, exit status != 0: 6.942947142990306 6.954385949 6.5347064040000005 Calling exit ...