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.0008047/0.0008047, 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.0008762/0.0008762, 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.8918/0.8918, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.699/0.699, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.529e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001487/0.001503, allocations: 0.5891 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.002939, allocations: 1.135 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.002981, allocations: 3.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.057e-05/0.003032, allocations: 3.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.003089, allocations: 8 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.003454, allocations: 125.5 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003568, allocations: 87.81 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.003646, allocations: 11.98 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.003715, allocations: 39.97 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.003788, allocations: 31.89 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.003805, allocations: 4 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.737e-05/0.003852, allocations: 23.98 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.003867, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.003907, allocations: 27.98 kB / 0.6202 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004046, allocations: 103.6 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004049, allocations: 4 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00405, allocations: 0 / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.004054, allocations: 0 / 0.6203 GB, free: 11.47 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.0003484/0.004402, allocations: 292 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.004441, allocations: 12.03 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.004467, allocations: 34.75 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.004501, allocations: 12.88 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.004574, allocations: 109.8 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.004586, allocations: 4.375 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.004599, allocations: 4.375 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.307e-05/0.004672, allocations: 42.25 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.004678, allocations: 192 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.004685, allocations: 384 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.00469, allocations: 4.125 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.917e-05/0.00472, allocations: 7.938 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.004991, allocations: 244 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.387e-05/0.005025, allocations: 22.58 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.076e-05/0.005036, allocations: 4.859 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.005043, allocations: 7.938 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.48e-05/0.005138, allocations: 67.34 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.005139, allocations: 0 / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000133/0.005272, allocations: 61.69 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.0053, allocations: 51.41 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.005354, allocations: 105.8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.005369, allocations: 25.7 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.005404, allocations: 96.08 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-06/0.00541, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.005453, allocations: 33.64 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.005522, allocations: 318.8 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.005583, allocations: 69.56 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.005644, allocations: 80.25 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.683e-05/0.005711, allocations: 80.27 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005713, allocations: 0 / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001636/0.005877, allocations: 180.9 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.005902, allocations: 41.69 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005907, allocations: 240 / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.005916, allocations: 0 / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-05/0.00593, allocations: 12.03 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005935, allocations: 0 / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.006051, allocations: 27.91 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.006064, allocations: 11.97 kB / 0.6222 GB, free: 9.188 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 5.427e-05/0.006118, allocations: 114.8 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.006125, allocations: 8.25 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.006141, allocations: 3.688 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006142, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.006148, allocations: 8 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.006151, allocations: 0 / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.936e-05/0.00622, allocations: 128.8 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006222, allocations: 3.938 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.006224, allocations: 0 / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006226, allocations: 3.984 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006232, allocations: 4 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006233, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006234, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.194e-05/0.006296, allocations: 85.02 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.006302, allocations: 3.938 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.006309, allocations: 4 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-06/0.006317, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.006338, allocations: 11.98 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.00634, allocations: 0 / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.006364, allocations: 79.28 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006364, allocations: 0 / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001401/0.006504, allocations: 16 kB / 0.6227 GB, free: 8.648 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.0002396/0.006744, allocations: 0.6202 MB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.006963, allocations: 141 kB / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.006969, allocations: 4.188 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.007027, allocations: 15.94 kB / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.007221, allocations: 13.8 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.00843, allocations: 1.473 MB / 0.6249 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.008474, allocations: 63.3 kB / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.008498, allocations: 3.984 kB / 0.625 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.008532, allocations: 12.5 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/0.008533, allocations: 4 kB / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.02594, allocations: 2.655 MB / 0.6276 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.083, allocations: 9.141 kB / 0.6276 GB, free: 3.609 MB / 0.5886 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.773276291787624] Failed to read output from testmodel.py, exit status != 0: 7.162181476131082 7.1709150170000004 7.164927902 Calling exit ...