Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007986/0.0007986, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009884/0.0009884, allocations: 170 kB / 22.43 MB, free: 2.141 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.8716/0.8716, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6965/0.6965, allocations: 154.7 MB / 413.9 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IDEAS_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.0009741/0.0009741, allocations: 73.05 kB / 0.6183 GB, free: 12.53 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.422, allocations: 102 MB / 0.7179 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001869/0.4238, allocations: 0.5849 MB / 0.7185 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.425, allocations: 1.137 MB / 0.7196 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.425, allocations: 0 / 0.7196 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.4251, allocations: 7.938 kB / 0.7196 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.4251, allocations: 3.984 kB / 0.7196 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.4256, allocations: 129.4 kB / 0.7197 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.4257, allocations: 83.89 kB / 0.7198 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.4258, allocations: 4 kB / 0.7198 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.4259, allocations: 59.83 kB / 0.7198 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.4259, allocations: 27.89 kB / 0.7199 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.426, allocations: 8 kB / 0.7199 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-05/0.426, allocations: 23.92 kB / 0.7199 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.4261, allocations: 4 kB / 0.7199 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.4261, allocations: 27.91 kB / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.4262, allocations: 99.83 kB / 0.72 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4262, allocations: 0 / 0.72 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4262, allocations: 0 / 0.72 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4263, allocations: 0 / 0.72 GB, free: 11.55 MB / 0.6042 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.000364/0.4266, allocations: 307.9 kB / 0.7203 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4267, allocations: 8.031 kB / 0.7203 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.4267, allocations: 30.75 kB / 0.7204 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.4267, allocations: 8.891 kB / 0.7204 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.4268, allocations: 106.5 kB / 0.7205 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4268, allocations: 4.375 kB / 0.7205 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.4268, allocations: 16.3 kB / 0.7205 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.4269, allocations: 34.27 kB / 0.7205 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4269, allocations: 11.91 kB / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.4269, allocations: 0 / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4269, allocations: 0 / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.4269, allocations: 8 kB / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.4272, allocations: 247.9 kB / 0.7208 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.412e-05/0.4273, allocations: 30.5 kB / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.4273, allocations: 4.859 kB / 0.7208 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.4273, allocations: 4.062 kB / 0.7208 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.4275, allocations: 55.39 kB / 0.7209 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4275, allocations: 4 kB / 0.7209 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001571/0.4276, allocations: 69.58 kB / 0.7209 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4276, allocations: 51.41 kB / 0.721 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.4277, allocations: 106 kB / 0.7211 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.4277, allocations: 25.7 kB / 0.7211 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.4278, allocations: 88.12 kB / 0.7212 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.4278, allocations: 7.953 kB / 0.7212 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.4278, allocations: 29.7 kB / 0.7212 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.4279, allocations: 322.8 kB / 0.7215 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.428, allocations: 57.69 kB / 0.7216 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.428, allocations: 88.31 kB / 0.7217 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.114e-05/0.4281, allocations: 84.2 kB / 0.7218 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4281, allocations: 0 / 0.7218 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001665/0.4283, allocations: 173 kB / 0.7219 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.4283, allocations: 41.69 kB / 0.722 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4283, allocations: 0 / 0.722 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4283, allocations: 7.938 kB / 0.722 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-05/0.4283, allocations: 0 / 0.722 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4283, allocations: 4.094 kB / 0.722 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.4285, allocations: 23.97 kB / 0.722 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4285, allocations: 4 kB / 0.722 GB, free: 9.266 MB / 0.6042 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.38e-05/0.4285, allocations: 122.8 kB / 0.7221 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-06/0.4285, allocations: 3.984 kB / 0.7221 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.851e-05/0.4286, allocations: 7.625 kB / 0.7221 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4286, allocations: 0 / 0.7221 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4286, allocations: 7.938 kB / 0.7221 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4286, allocations: 0 / 0.7221 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.4286, allocations: 132.7 kB / 0.7223 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4286, allocations: 0 / 0.7223 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-06/0.4287, allocations: 0 / 0.7223 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4287, allocations: 4 kB / 0.7223 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4287, allocations: 0 / 0.7223 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.4287, allocations: 0 / 0.7223 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4287, allocations: 0 / 0.7223 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.4287, allocations: 93.22 kB / 0.7224 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.4287, allocations: 0 / 0.7224 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.4288, allocations: 4 kB / 0.7224 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.4288, allocations: 4 kB / 0.7224 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.4288, allocations: 4 kB / 0.7224 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4288, allocations: 3.984 kB / 0.7224 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.4288, allocations: 87.28 kB / 0.7225 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.4288, allocations: 0 / 0.7225 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001423/0.429, allocations: 20 kB / 0.7225 GB, free: 8.711 MB / 0.6042 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.00027/0.4292, allocations: 0.6174 MB / 0.7231 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.4294, allocations: 133 kB / 0.7232 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4294, allocations: 4 kB / 0.7232 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.4294, allocations: 16.17 kB / 0.7232 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.4296, allocations: 6.031 kB / 0.7232 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.4306, allocations: 1.481 MB / 0.7247 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.4306, allocations: 67.28 kB / 0.7247 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.4306, allocations: 11.88 kB / 0.7248 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.4307, allocations: 12.5 kB / 0.7248 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.4307, allocations: 0 / 0.7248 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.449, allocations: 2.657 MB / 0.7274 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/6.962, allocations: 2.266 kB / 0.7274 GB, free: 3.672 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Validation_Not.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.566689848899841] Failed to read output from testmodel.py, exit status != 0: 7.039550191024318 7.047131949 6.619077119 Calling exit ...