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.0009242/0.0009242, allocations: 109.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.0009752/0.0009752, allocations: 216 kB / 22.25 MB, free: 3.73 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.9488/0.9488, allocations: 230.6 MB / 256 MB, free: 9.648 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.7891/0.7891, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0019/0.0019, allocations: 66.36 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5481, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001444/0.5496, allocations: 0.6356 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.5511, allocations: 1.21 MB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.5511, allocations: 0 / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.5512, allocations: 8.594 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.331e-05/0.5513, allocations: 8.266 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.552, allocations: 217.7 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.5523, allocations: 169.3 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.5524, allocations: 8.828 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.5525, allocations: 71.98 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.5526, allocations: 55.73 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.5527, allocations: 14.28 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.5527, allocations: 28.45 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.5528, allocations: 17.17 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.5528, allocations: 47.69 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.5531, allocations: 157.5 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5531, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5531, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5531, 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.0004493/0.5535, allocations: 359.1 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5536, allocations: 9.375 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.5536, allocations: 41.12 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.5537, allocations: 13.12 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.5537, allocations: 115 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5538, allocations: 5.188 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.5538, allocations: 10.22 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.5539, allocations: 50.69 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5539, allocations: 3.938 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.5539, allocations: 4.5 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5539, allocations: 2.906 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.5539, allocations: 12.69 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.5543, allocations: 301.9 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.5544, allocations: 29.09 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.5544, allocations: 21.86 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.5544, allocations: 0 / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.5546, allocations: 86.45 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.5546, allocations: 0 / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002297/0.5549, allocations: 103.4 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.5549, allocations: 53.81 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.555, allocations: 118 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.555, allocations: 33.84 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.5551, allocations: 98.27 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.5551, allocations: 15.86 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.5551, allocations: 50.69 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.5552, allocations: 324.7 kB / 0.8222 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5554, allocations: 123.4 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.5555, allocations: 152.5 kB / 0.8224 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.5556, allocations: 163.9 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5557, allocations: 4 kB / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003659/0.556, allocations: 321.2 kB / 0.8229 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/0.5561, allocations: 68.88 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5561, allocations: 1.5 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5561, allocations: 1.5 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/0.5561, allocations: 1.656 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.5561, allocations: 4.812 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.5563, allocations: 63.05 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.5564, allocations: 20.19 kB / 0.823 GB, free: 13.11 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 9.306e-05/0.5565, allocations: 123.2 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.5565, allocations: 6.422 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.5565, allocations: 12.78 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5565, allocations: 1.188 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5565, allocations: 0 / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5565, allocations: 0 / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.5566, allocations: 146.7 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5566, allocations: 1.125 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.5566, allocations: 1.312 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5566, allocations: 0 / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.5566, allocations: 2.375 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5566, allocations: 1.25 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5566, allocations: 96 / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.5568, allocations: 125.7 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.5568, allocations: 2.312 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.5568, allocations: 4.188 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.5568, allocations: 5.406 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.5569, allocations: 9.156 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.5569, allocations: 2.844 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.5569, allocations: 89.3 kB / 0.8235 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5569, allocations: 1.375 kB / 0.8235 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001715/0.5571, allocations: 33.72 kB / 0.8236 GB, free: 12.62 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.0005987/0.5577, allocations: 0.6473 MB / 0.8242 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.558, allocations: 276.3 kB / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.558, allocations: 0 / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.558, allocations: 37.08 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.5582, allocations: 18.17 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.5599, allocations: 1.963 MB / 0.8264 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.195e-05/0.5599, allocations: 70.19 kB / 0.8265 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.56, allocations: 8.703 kB / 0.8265 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.56, allocations: 24.16 kB / 0.8265 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.56, allocations: 1.125 kB / 0.8265 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.5809, allocations: 3.637 MB / 0.8301 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/7.226, allocations: 6.812 kB / 0.8301 GB, free: 8.93 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.247897115070373] Failed to read output from testmodel.py, exit status != 0: 7.30407557496801 7.317853989 6.762092002 Calling exit ...