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.0007508/0.0007508, 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.001327/0.001327, allocations: 170.3 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.9401/0.9401, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7353/0.7353, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.26e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001839/0.001862, allocations: 0.6047 MB / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.003574, allocations: 1.135 MB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.003622, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.003652, allocations: 0 / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.003718, allocations: 4 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.004257, allocations: 119.1 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004474, allocations: 87.81 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004575, allocations: 4 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.004685, allocations: 47.97 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.004794, allocations: 35.88 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.004822, allocations: 8 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.004895, allocations: 19.98 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.004917, allocations: 7.938 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.004973, allocations: 23.97 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005162, allocations: 103.7 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005164, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005165, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.00517, allocations: 0 / 0.6202 GB, free: 11.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005145/0.005685, allocations: 300 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.005736, allocations: 13.47 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.005773, allocations: 30.75 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.005819, allocations: 4.938 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.005921, allocations: 109.8 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.005939, allocations: 384 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.005961, allocations: 8.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.006074, allocations: 38.25 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006084, allocations: 192 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006093, allocations: 384 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.006099, allocations: 4.125 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.006144, allocations: 11.94 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.006535, allocations: 252 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.006587, allocations: 18.58 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.006605, allocations: 8.859 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.006615, allocations: 8 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.006752, allocations: 55.33 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.006754, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001948/0.006949, allocations: 65.67 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.00699, allocations: 51.41 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.007071, allocations: 113.8 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.007094, allocations: 29.64 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.007142, allocations: 92.09 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.007152, allocations: 0 / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.007214, allocations: 29.7 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.007318, allocations: 330.8 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.007395, allocations: 57.69 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.007462, allocations: 80.25 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.007532, allocations: 76.58 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007534, allocations: 3.938 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001784/0.007713, allocations: 188.9 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.007741, allocations: 37.69 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.007747, allocations: 7.938 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.007759, allocations: 4 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.458e-05/0.007774, allocations: 0 / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.007778, allocations: 0 / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.007903, allocations: 27.97 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.007915, allocations: 4 kB / 0.6222 GB, free: 9.25 MB / 0.5886 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 6.161e-05/0.007977, allocations: 122.9 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.007984, allocations: 3.938 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.008004, allocations: 7.688 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008005, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.008009, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008012, allocations: 4 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.069e-05/0.008093, allocations: 124.8 kB / 0.6224 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008095, allocations: 3.938 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-06/0.008098, allocations: 0 / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.0081, allocations: 4 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.008105, allocations: 0 / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.008105, allocations: 4 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008106, allocations: 0 / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.506e-05/0.008182, allocations: 89 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.008188, allocations: 3.938 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.008196, allocations: 0 / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.008207, allocations: 4 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.008227, allocations: 3.984 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.00823, allocations: 0 / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.008258, allocations: 83.28 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008258, allocations: 0 / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001408/0.008399, allocations: 16 kB / 0.6226 GB, free: 8.707 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: 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.0002549/0.008654, allocations: 0.6241 MB / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.008807, allocations: 137.4 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008809, allocations: 0 / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.008826, allocations: 15.88 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.008972, allocations: 18.25 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.009923, allocations: 1.47 MB / 0.6248 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.009963, allocations: 71.47 kB / 0.6249 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.668e-05/0.00998, allocations: 4 kB / 0.6249 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.01001, allocations: 20.48 kB / 0.6249 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.01001, allocations: 0 / 0.6249 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.02473, allocations: 2.656 MB / 0.6275 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.896, allocations: 15.86 kB / 0.6275 GB, free: 3.668 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 9.678613172844052] Failed to read output from testmodel.py, exit status != 0: 6.980479045771062 6.98839225 6.981587187 Calling exit ...