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.0007462/0.0007462, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008064/0.0008064, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9808/0.9808, allocations: 230.6 MB / 256 MB, free: 9.797 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.8187/0.8187, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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.001043/0.001043, allocations: 72.2 kB / 0.7182 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5622, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001519/0.5637, allocations: 0.6537 MB / 0.8185 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.5649, allocations: 1.231 MB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.5649, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.5649, allocations: 4.734 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.565, allocations: 11.23 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.5656, allocations: 221 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.5658, allocations: 169.6 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.5659, allocations: 10.86 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.566, allocations: 74.67 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.5662, allocations: 58.78 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.5662, allocations: 15.19 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.5663, allocations: 29.16 kB / 0.8203 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.5663, allocations: 18.36 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.5664, allocations: 55.08 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.5667, allocations: 155 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5667, allocations: 0.5 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5667, allocations: 0.7031 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.5667, allocations: 1.5 kB / 0.8205 GB, free: 15.59 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.0004637/0.5671, allocations: 357.5 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5672, allocations: 14.31 kB / 0.8208 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.5672, allocations: 33.47 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.5673, allocations: 15.77 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.5674, allocations: 122.5 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.5674, allocations: 4.062 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.5674, allocations: 7.156 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.987e-05/0.5675, allocations: 51.3 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5675, allocations: 4.688 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5675, allocations: 0 / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.5675, allocations: 7.922 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.5676, allocations: 14.52 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.568, allocations: 328.5 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.5681, allocations: 34.34 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.5681, allocations: 19.88 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.5682, allocations: 0 / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.5683, allocations: 80.86 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5683, allocations: 3.938 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002175/0.5685, allocations: 107.2 kB / 0.8216 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.5686, allocations: 51.97 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.5686, allocations: 116 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.5687, allocations: 30.98 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5687, allocations: 93.84 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.5687, allocations: 23.16 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.5688, allocations: 48.66 kB / 0.822 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.5689, allocations: 326.5 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.569, allocations: 55.66 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5691, allocations: 99.5 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5693, allocations: 160.5 kB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5693, allocations: 0 / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003187/0.5696, allocations: 261.3 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.5696, allocations: 68.31 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5696, allocations: 2.703 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5696, allocations: 1.969 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.987e-05/0.5697, allocations: 2.156 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5697, allocations: 2.031 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.5699, allocations: 56.81 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5699, allocations: 17.81 kB / 0.823 GB, free: 13.46 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 8.477e-05/0.57, allocations: 129.7 kB / 0.8231 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.57, allocations: 5.953 kB / 0.8231 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.57, allocations: 11.83 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.57, allocations: 4 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.57, allocations: 0 / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.57, allocations: 1.031 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.5701, allocations: 150.7 kB / 0.8233 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5701, allocations: 5.125 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-06/0.5701, allocations: 1.469 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5701, allocations: 1.031 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5702, allocations: 2.594 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5702, allocations: 0 / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5702, allocations: 0.8438 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5703, allocations: 122.9 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.5703, allocations: 10.31 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.5703, allocations: 0 / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.5703, allocations: 4 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.5704, allocations: 8.188 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.5704, allocations: 1.5 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.5704, allocations: 94.41 kB / 0.8235 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5704, allocations: 0 / 0.8235 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001637/0.5706, allocations: 32.47 kB / 0.8236 GB, free: 12.95 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.0003326/0.5709, allocations: 0.6477 MB / 0.8242 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.5712, allocations: 220.6 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5712, allocations: 0 / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.5712, allocations: 24.53 kB / 0.8244 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.5714, allocations: 17.64 kB / 0.8244 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.5729, allocations: 1.727 MB / 0.8261 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.5731, allocations: 0.6847 MB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.5731, allocations: 10.47 kB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.5731, allocations: 20.5 kB / 0.8268 GB, free: 10 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5731, allocations: 0 / 0.8268 GB, free: 10 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.5902, allocations: 3.026 MB / 0.8298 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/7.081, allocations: 7.453 kB / 0.8298 GB, free: 9.457 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.131019831867889] Failed to read output from testmodel.py, exit status != 0: 7.159601741004735 7.171806053 6.6024711289999996 Calling exit ...