Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.00105/0.00105, 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.0009172/0.0009172, allocations: 213.8 kB / 22.26 MB, free: 3.707 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.9889/0.9889, allocations: 230.6 MB / 256 MB, free: 9.809 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.8046/0.8046, allocations: 203.8 MB / 0.5042 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 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.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",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.0009329/0.0009329, allocations: 66.25 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4997, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001372/0.501, allocations: 0.6056 MB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.502, allocations: 1.16 MB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.5021, allocations: 0 / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.5021, allocations: 4.594 kB / 0.8196 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.5022, allocations: 8.844 kB / 0.8196 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.5027, allocations: 115.9 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.5029, allocations: 87.09 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.503, allocations: 6.922 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.503, allocations: 33.3 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.5031, allocations: 33.86 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.5032, allocations: 12.66 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.5032, allocations: 15.95 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.5033, allocations: 6.922 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.5033, allocations: 32.59 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.5035, allocations: 83.94 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5035, allocations: 0.6562 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5035, allocations: 0 / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5035, allocations: 0 / 0.82 GB, free: 15.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004351/0.504, allocations: 303.1 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.504, allocations: 14 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.504, allocations: 31.45 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.5041, allocations: 7.578 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.5042, allocations: 113.7 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5042, allocations: 8.703 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5042, allocations: 8 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.5043, allocations: 37.25 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5043, allocations: 3.938 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5043, allocations: 0.6562 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5043, allocations: 0 / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.5044, allocations: 16.44 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.5048, allocations: 262.3 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.5048, allocations: 19.47 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.5048, allocations: 8.859 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.5048, allocations: 0 / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.505, allocations: 60.94 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.505, allocations: 1.281 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001993/0.5052, allocations: 70.64 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5052, allocations: 51.97 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.5053, allocations: 107.8 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.5053, allocations: 26.27 kB / 0.8211 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.5054, allocations: 83.55 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.5054, allocations: 6.984 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.5055, allocations: 38.67 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5056, allocations: 316.1 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.5056, allocations: 26.09 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.5057, allocations: 50.22 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.5058, allocations: 78.66 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5058, allocations: 4 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002333/0.5061, allocations: 146.1 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.5061, allocations: 38.62 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5061, allocations: 320 / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5061, allocations: 1.375 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-05/0.5061, allocations: 1.953 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5061, allocations: 6.031 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.5063, allocations: 27.08 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.5063, allocations: 10.95 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.448e-05/0.5064, allocations: 122 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.5064, allocations: 2.188 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.5065, allocations: 9.703 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5065, allocations: 1 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5065, allocations: 3.938 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5065, allocations: 1.969 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.5066, allocations: 136.1 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5066, allocations: 0 / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-06/0.5066, allocations: 6.109 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5066, allocations: 0 / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5066, allocations: 1.812 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5066, allocations: 0 / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5066, allocations: 0 / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.5067, allocations: 81.75 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.5067, allocations: 4.703 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.5067, allocations: 12.23 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.5068, allocations: 4 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.5068, allocations: 1.359 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.5068, allocations: 3.859 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.5068, allocations: 78.47 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.5068, allocations: 0 / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002266/0.5071, allocations: 23.66 kB / 0.8224 GB, free: 13.54 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003712/0.5074, allocations: 0.6124 MB / 0.823 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.5076, allocations: 110.5 kB / 0.8231 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5076, allocations: 0 / 0.8231 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.5077, allocations: 5.938 kB / 0.8231 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.5078, allocations: 15.56 kB / 0.8231 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5089, allocations: 1.365 MB / 0.8244 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.5091, allocations: 0.6776 MB / 0.8251 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.5091, allocations: 6.406 kB / 0.8251 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.5091, allocations: 16.34 kB / 0.8251 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5091, allocations: 0 / 0.8251 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.5262, allocations: 2.034 MB / 0.8271 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/7.166, allocations: 6.172 kB / 0.8271 GB, free: 10.42 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not_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_Not.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202686445089057] Failed to read output from testmodel.py, exit status != 0: 7.244270237861201 7.263384638 6.756775457 Calling exit ...