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.0008341/0.0008341, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001015/0.001015, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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.9921/0.9921, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.8209/0.8209, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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.0008791/0.0008791, allocations: 61.69 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5457/0.5466, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001514/0.5481, allocations: 0.6385 MB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.5494, allocations: 1.208 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.5494, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.5494, allocations: 4.594 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.5495, allocations: 17.98 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.5502, allocations: 213.8 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.5505, allocations: 169.6 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.5506, allocations: 12.64 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.5507, allocations: 68 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.5509, allocations: 59.09 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.5509, allocations: 15.88 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.551, allocations: 27.53 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.551, allocations: 8.938 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.5511, allocations: 58.2 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.5514, allocations: 154.2 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5514, allocations: 1.312 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5514, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5514, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 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.0006594/0.552, allocations: 358.2 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5521, allocations: 12 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.5521, allocations: 31.5 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.5522, allocations: 11.8 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/0.5522, allocations: 114.7 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5523, allocations: 5.906 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.5523, allocations: 13.38 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.5524, allocations: 50.75 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5524, allocations: 4.641 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.5524, allocations: 0 / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5524, allocations: 1.25 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.5525, allocations: 13.23 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.5529, allocations: 304.5 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/0.553, allocations: 33.41 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.553, allocations: 14.78 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.553, allocations: 1 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.5533, allocations: 86.28 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.5533, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002498/0.5535, allocations: 105.5 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5536, allocations: 53.28 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.5537, allocations: 121.1 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.5537, allocations: 31.14 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.5537, allocations: 99.64 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.5537, allocations: 14.97 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.5538, allocations: 48.16 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.5539, allocations: 322.8 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5541, allocations: 115.6 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5542, allocations: 164.7 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.5544, allocations: 155.3 kB / 0.8226 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5544, allocations: 1.344 kB / 0.8226 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004134/0.5548, allocations: 324.7 kB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.5549, allocations: 67.69 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5549, allocations: 6.25 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5549, allocations: 1.188 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-05/0.5549, allocations: 3.234 kB / 0.823 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5549, allocations: 2.531 kB / 0.823 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.5552, allocations: 60.33 kB / 0.823 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.5552, allocations: 11.69 kB / 0.823 GB, free: 13.14 MB / 0.6198 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 0.0001023/0.5553, allocations: 132.1 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.5554, allocations: 6.078 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.5554, allocations: 15.94 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5554, allocations: 1.031 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5554, allocations: 0.9844 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5554, allocations: 1.062 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.5555, allocations: 146.5 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5555, allocations: 3.938 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.5555, allocations: 1.969 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5555, allocations: 3.531 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5555, allocations: 9.156 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5555, allocations: 4 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5555, allocations: 3.984 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.5556, allocations: 113.8 kB / 0.8234 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.5556, allocations: 11.19 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.5557, allocations: 0 / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.5557, allocations: 0 / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.5557, allocations: 6.734 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.5557, allocations: 2.062 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.5557, allocations: 90.62 kB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5557, allocations: 0 / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001761/0.5559, allocations: 34.62 kB / 0.8236 GB, free: 12.63 MB / 0.6198 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.0003473/0.5563, allocations: 0.6559 MB / 0.8242 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.5566, allocations: 280.8 kB / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5566, allocations: 0 / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.5566, allocations: 20.56 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.5568, allocations: 18.02 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.5585, allocations: 1.964 MB / 0.8264 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.5586, allocations: 74.23 kB / 0.8265 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.5586, allocations: 9 kB / 0.8265 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.5586, allocations: 16.39 kB / 0.8265 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of SimCode: time 7.32e-07/0.5586, allocations: 1.531 kB / 0.8265 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.579, allocations: 3.629 MB / 0.8301 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/7.183, allocations: 9.281 kB / 0.8301 GB, free: 8.949 MB / 0.6198 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: 10.209923598915339] Failed to read output from testmodel.py, exit status != 0: 7.264142496977001 7.2765484559999996 6.723019187 Calling exit ...