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.000823/0.000823, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008971/0.0008971, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9247/0.9247, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7551/0.7551, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 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: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.438e-05, allocations: 8.953 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001494/0.001528, allocations: 0.6374 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.002867, allocations: 1.221 MB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.002919, allocations: 0 / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.00295, allocations: 7.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.003029, allocations: 11.92 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.003635, allocations: 210.6 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.003844, allocations: 171.7 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003951, allocations: 4 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.004079, allocations: 99.84 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.004188, allocations: 51.91 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.004217, allocations: 16 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.172e-05/0.004289, allocations: 27.94 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.004312, allocations: 11.98 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.004371, allocations: 47.95 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.004573, allocations: 187.5 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004576, allocations: 0 / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004578, allocations: 0 / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.004582, allocations: 0 / 0.6207 GB, free: 11.02 MB / 0.5886 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.0004406/0.005023, allocations: 349.6 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.005068, allocations: 13.47 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.005095, allocations: 38.73 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.00514, allocations: 12.89 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.295e-05/0.005222, allocations: 121.7 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.005238, allocations: 4.375 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.00526, allocations: 8.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.005369, allocations: 54.23 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005377, allocations: 192 / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005386, allocations: 384 / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005391, allocations: 4.125 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.705e-05/0.005428, allocations: 23.86 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.005871, allocations: 295.9 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.005954, allocations: 26.58 kB / 0.6216 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.005981, allocations: 16.94 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.005994, allocations: 3.938 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.006192, allocations: 83.31 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.006194, allocations: 0 / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000252/0.006446, allocations: 101.6 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.006494, allocations: 55.41 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.006578, allocations: 125.7 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.006606, allocations: 33.7 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.006658, allocations: 88.14 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.006675, allocations: 15.91 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.006745, allocations: 49.69 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.00684, allocations: 318.8 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.006972, allocations: 123.4 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.007099, allocations: 151.3 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.007242, allocations: 163.6 kB / 0.6229 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.007245, allocations: 3.938 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003332/0.007579, allocations: 328.7 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.00763, allocations: 71.33 kB / 0.6232 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.007639, allocations: 3.984 kB / 0.6232 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.007656, allocations: 4 kB / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.649e-05/0.007683, allocations: 3.938 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.007691, allocations: 4 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.007912, allocations: 52 kB / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.007935, allocations: 19.98 kB / 0.6233 GB, free: 8 MB / 0.5886 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.496e-05/0.00802, allocations: 122.8 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.008032, allocations: 11.94 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.008056, allocations: 4.438 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.008058, allocations: 0 / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.008064, allocations: 4.062 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.008067, allocations: 0 / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.992e-05/0.008167, allocations: 152.7 kB / 0.6236 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008169, allocations: 8 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.008176, allocations: 3.938 kB / 0.6236 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008178, allocations: 3.938 kB / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.008186, allocations: 0 / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008188, allocations: 0 / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008189, allocations: 4 kB / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.008302, allocations: 113.3 kB / 0.6237 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.008311, allocations: 3.953 kB / 0.6237 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.008323, allocations: 4 kB / 0.6237 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.546e-05/0.008338, allocations: 3.984 kB / 0.6237 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.008374, allocations: 4 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.008379, allocations: 8 kB / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.008417, allocations: 91.27 kB / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008417, allocations: 0 / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001893/0.008607, allocations: 31.94 kB / 0.6239 GB, free: 7.363 MB / 0.5886 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.0003611/0.008968, allocations: 0.6593 MB / 0.6245 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.009529, allocations: 278.1 kB / 0.6248 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.009531, allocations: 0 / 0.6248 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.009567, allocations: 28.17 kB / 0.6248 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.00979, allocations: 24.2 kB / 0.6248 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.01161, allocations: 1.946 MB / 0.6267 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.407e-05/0.01168, allocations: 71.33 kB / 0.6268 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01173, allocations: 4 kB / 0.6268 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.01178, allocations: 28.48 kB / 0.6268 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of SimCode: time 1.363e-06/0.01178, allocations: 3.938 kB / 0.6268 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.03215, allocations: 3.743 MB / 0.6305 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/6.885, allocations: 2.578 kB / 0.6305 GB, free: 0.5195 MB / 0.5886 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: 9.806296156719327] Failed to read output from testmodel.py, exit status != 0: 6.973261002451181 6.982053122 6.975627402 Calling exit ...