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.0008697/0.0008697, 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.0008764/0.0008764, 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.9387/0.9387, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7393/0.7393, allocations: 154.5 MB / 413.7 MB, free: 0.8086 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.625e-06/2.625e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.306e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001415/0.001438, allocations: 0.6003 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002581, allocations: 1.124 MB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.00262, allocations: 0 / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.002648, allocations: 7.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.002711, allocations: 11.92 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.003115, allocations: 122.8 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.003238, allocations: 83.83 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.003329, allocations: 11.98 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.916e-05/0.003418, allocations: 43.97 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.003501, allocations: 23.95 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.003521, allocations: 11.98 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.003574, allocations: 20 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.00359, allocations: 3.938 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.003636, allocations: 27.97 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003781, allocations: 95.77 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003784, allocations: 4 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003785, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003789, 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.0003652/0.004154, allocations: 300 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.004196, allocations: 13.47 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/0.004221, allocations: 30.75 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.004254, allocations: 8.891 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.00433, allocations: 117.7 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.004342, allocations: 384 / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.004361, allocations: 4.375 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/0.004439, allocations: 42.25 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.004447, allocations: 192 / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004457, allocations: 4.359 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004462, allocations: 4.125 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.004495, allocations: 7.984 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.004798, allocations: 244 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/0.00484, allocations: 22.58 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.004853, allocations: 12.84 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.00486, allocations: 3.938 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.004982, allocations: 59.42 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004983, allocations: 0 / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.005144, allocations: 69.61 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.005179, allocations: 51.41 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.00524, allocations: 105.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.005257, allocations: 29.64 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.005295, allocations: 88.09 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.108e-06/0.005304, allocations: 4 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.005346, allocations: 29.7 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.005433, allocations: 322.8 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.005498, allocations: 61.67 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.005566, allocations: 76.27 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.005638, allocations: 84.2 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.00564, allocations: 0 / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001758/0.005816, allocations: 180.9 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.005844, allocations: 37.7 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.00585, allocations: 416 / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005861, allocations: 4 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.446e-05/0.005876, allocations: 7.938 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.005881, allocations: 4 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.006005, allocations: 31.89 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.006017, allocations: 4 kB / 0.6222 GB, free: 9.246 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.442e-05/0.006081, allocations: 118.8 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.006089, allocations: 7.938 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.00611, allocations: 3.688 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006112, allocations: 4 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.006117, allocations: 3.984 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006119, allocations: 0 / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.513e-05/0.006195, allocations: 128.8 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006196, allocations: 3.938 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.006199, allocations: 0 / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.0062, allocations: 0 / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.006207, allocations: 4 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006208, allocations: 0 / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006208, allocations: 0 / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.063e-05/0.006279, allocations: 85.3 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.006286, allocations: 7.938 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.006296, allocations: 3.984 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.006304, allocations: 3.938 kB / 0.6225 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.006329, allocations: 4 kB / 0.6225 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.006334, allocations: 4 kB / 0.6225 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.006365, allocations: 83.27 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006365, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001486/0.006513, allocations: 16 kB / 0.6226 GB, free: 8.695 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.000296/0.006809, allocations: 0.6202 MB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.006984, allocations: 141 kB / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006985, allocations: 0 / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.007004, allocations: 11.94 kB / 0.6234 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.007158, allocations: 11.98 kB / 0.6234 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.00821, allocations: 1.47 MB / 0.6248 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.008255, allocations: 67.28 kB / 0.6249 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.008277, allocations: 4.188 kB / 0.6249 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.008306, allocations: 20.44 kB / 0.6249 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.008307, allocations: 0 / 0.6249 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.02381, allocations: 2.66 MB / 0.6275 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.683, allocations: 6.641 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 & 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: 9.561031729914248] Failed to read output from testmodel.py, exit status != 0: 6.764301021583378 6.774043912 6.768007283 Calling exit ...