Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.000833/0.000833, 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.001479/0.001479, 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.882/0.882, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.694/0.694, allocations: 154.5 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.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.355e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001127/0.001141, allocations: 0.6342 MB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.002203, allocations: 1.217 MB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.00225, allocations: 4 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.002278, allocations: 0 / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.002346, allocations: 15.84 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.002829, allocations: 221.7 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.002998, allocations: 171.7 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.003089, allocations: 12 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.003192, allocations: 91.88 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.003283, allocations: 47.91 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.003306, allocations: 16 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.003363, allocations: 27.98 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003384, allocations: 15.91 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.003436, allocations: 43.97 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.003616, allocations: 187.5 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003618, allocations: 0 / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003618, allocations: 0 / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003623, allocations: 4 kB / 0.6207 GB, free: 11.04 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.000385/0.004008, allocations: 353.6 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.004045, allocations: 17.41 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.00407, allocations: 30.75 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.004109, allocations: 16.88 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.004182, allocations: 113.7 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004196, allocations: 8.375 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.004215, allocations: 8.375 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.854e-05/0.004304, allocations: 46.23 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.00431, allocations: 192 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.004321, allocations: 8.375 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004326, allocations: 8.125 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.004359, allocations: 15.94 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.004728, allocations: 284 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.004797, allocations: 34.56 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.004819, allocations: 12.86 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.00483, allocations: 3.938 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.00496, allocations: 87.33 kB / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.004961, allocations: 0 / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002094/0.00517, allocations: 105.6 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.005206, allocations: 59.41 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.005277, allocations: 121.7 kB / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.005299, allocations: 29.7 kB / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.005349, allocations: 92.12 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.005363, allocations: 15.91 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.00543, allocations: 49.69 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.005504, allocations: 318.8 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.005618, allocations: 119.3 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.005734, allocations: 155.6 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.005858, allocations: 159.6 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.005861, allocations: 7.938 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000285/0.006146, allocations: 328.2 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.006183, allocations: 67.86 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006187, allocations: 4 kB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.006197, allocations: 0 / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.589e-05/0.006213, allocations: 7.984 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.006219, allocations: 4.062 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.006409, allocations: 59.81 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.006429, allocations: 15.98 kB / 0.6233 GB, free: 8.016 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,and1.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 6.533e-05/0.006494, allocations: 122.8 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.006501, allocations: 7.953 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.006523, allocations: 8.438 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006525, allocations: 3.984 kB / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.00653, allocations: 8.062 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006533, allocations: 0 / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.006611, allocations: 140.7 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006612, allocations: 0 / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-06/0.006616, allocations: 4 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006618, allocations: 3.984 kB / 0.6236 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.006626, allocations: 4 kB / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006627, allocations: 0 / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006627, allocations: 0 / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.006722, allocations: 121.3 kB / 0.6237 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.006729, allocations: 7.953 kB / 0.6237 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.006739, allocations: 8 kB / 0.6237 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.00675, allocations: 4 kB / 0.6238 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.00678, allocations: 3.984 kB / 0.6238 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006784, allocations: 7.938 kB / 0.6238 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.006814, allocations: 91.27 kB / 0.6238 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006814, allocations: 0 / 0.6238 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001617/0.006976, allocations: 35.94 kB / 0.6239 GB, free: 7.371 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,and1.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.000284/0.00726, allocations: 0.6515 MB / 0.6245 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.007517, allocations: 278.1 kB / 0.6248 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007519, allocations: 0 / 0.6248 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.007552, allocations: 27.98 kB / 0.6248 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.007722, allocations: 14.14 kB / 0.6248 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.009264, allocations: 1.956 MB / 0.6267 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.00931, allocations: 75.58 kB / 0.6268 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.009331, allocations: 4 kB / 0.6268 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.009364, allocations: 20.5 kB / 0.6268 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.009365, allocations: 0 / 0.6268 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.02561, allocations: 3.749 MB / 0.6305 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.182, allocations: 6.641 kB / 0.6305 GB, free: 0.5352 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.880950422026217] Failed to read output from testmodel.py, exit status != 0: 7.262431470677257 7.272302122 7.266974647 Calling exit ...