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.0007957/0.0007957, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000867/0.000867, allocations: 216 kB / 22.25 MB, free: 3.594 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.9728/0.9728, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.7551/0.7551, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: 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.0008653/0.0008653, allocations: 71.08 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5576, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001538/0.5591, allocations: 0.638 MB / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.5604, allocations: 1.213 MB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.5604, allocations: 0 / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.5605, allocations: 4.734 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.5606, allocations: 8.391 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.5612, allocations: 222.5 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.5614, allocations: 169.3 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.5615, allocations: 9.141 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.5616, allocations: 67.16 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.5617, allocations: 55.91 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.5618, allocations: 16.84 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.5618, allocations: 25.31 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.5619, allocations: 17.58 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.5619, allocations: 53.44 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.5621, allocations: 151.5 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5621, allocations: 2.375 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5621, allocations: 7.875 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5621, allocations: 0 / 0.82 GB, free: 15.64 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.0004474/0.5626, allocations: 360.1 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5626, allocations: 11.5 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.5627, allocations: 36.02 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5627, allocations: 11.38 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.389e-05/0.5628, allocations: 116.7 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5628, allocations: 3.594 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.5628, allocations: 20.3 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/0.5629, allocations: 44.55 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5629, allocations: 3.938 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.5629, allocations: 0.7031 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5629, allocations: 2 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.563, allocations: 18.84 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.5634, allocations: 292.9 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.5634, allocations: 35.98 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.5635, allocations: 17.17 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.5635, allocations: 2.125 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.5636, allocations: 80.39 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.5636, allocations: 0.5312 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002066/0.5638, allocations: 110.1 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.5639, allocations: 54.14 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.564, allocations: 119.5 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.564, allocations: 30.97 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.564, allocations: 94.62 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.564, allocations: 13.89 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.5641, allocations: 54.92 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.5642, allocations: 317.2 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5643, allocations: 126.4 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.5644, allocations: 158.7 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.5646, allocations: 162.2 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5646, allocations: 3.969 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003084/0.5649, allocations: 326.7 kB / 0.8225 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.5649, allocations: 67.64 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5649, allocations: 0 / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5649, allocations: 2.594 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-05/0.5649, allocations: 8.297 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5649, allocations: 0.7969 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.5652, allocations: 60.44 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.5652, allocations: 15.16 kB / 0.8226 GB, free: 13.31 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 7.818e-05/0.5653, allocations: 124.4 kB / 0.8227 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.5653, allocations: 7.922 kB / 0.8228 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.5653, allocations: 10.33 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5653, allocations: 1.062 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5653, allocations: 0 / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5653, allocations: 0.6094 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.5654, allocations: 142.4 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5654, allocations: 2.078 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-06/0.5654, allocations: 1.188 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5654, allocations: 8.594 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5655, allocations: 2.906 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5655, allocations: 0 / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5655, allocations: 0 / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.5656, allocations: 113.9 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.5656, allocations: 3.094 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.5656, allocations: 6.438 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.5656, allocations: 1.859 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.5657, allocations: 5.266 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.5657, allocations: 7.312 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.5657, allocations: 93.98 kB / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5657, allocations: 0 / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001692/0.5659, allocations: 37.05 kB / 0.8232 GB, free: 12.82 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.0002981/0.5662, allocations: 0.6488 MB / 0.8238 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.5665, allocations: 285.2 kB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5665, allocations: 0 / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.5665, allocations: 24.53 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.5667, allocations: 20.89 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.5681, allocations: 1.957 MB / 0.826 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.869e-05/0.5682, allocations: 68.78 kB / 0.8261 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.5682, allocations: 9.703 kB / 0.8261 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.5683, allocations: 16.3 kB / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5683, allocations: 0 / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.5857, allocations: 3.646 MB / 0.8297 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/7.276, allocations: 5.5 kB / 0.8297 GB, free: 9.133 MB / 0.6198 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: 10.1838263659738] Failed to read output from testmodel.py, exit status != 0: 7.354944705963135 7.368123303 6.8038307399999995 Calling exit ...