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.0007692/0.0007692, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009703/0.0009703, allocations: 218.7 kB / 22.25 MB, free: 3.57 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.9673/0.9673, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.8087/0.8087, allocations: 203.5 MB / 0.5039 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 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.001216/0.001216, allocations: 70.17 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5261, allocations: 102 MB / 0.8174 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001346/0.5275, allocations: 0.5866 MB / 0.818 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.5284, allocations: 1.139 MB / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.5285, allocations: 0 / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.5285, allocations: 0 / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.5286, allocations: 10.62 kB / 0.8191 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.529, allocations: 123 kB / 0.8192 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.5291, allocations: 83.31 kB / 0.8193 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.5292, allocations: 1.359 kB / 0.8193 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.5293, allocations: 41.23 kB / 0.8193 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-05/0.5294, allocations: 33.48 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.5294, allocations: 4.406 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.325e-05/0.5294, allocations: 21.48 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.5295, allocations: 7.109 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.5295, allocations: 29.95 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.5297, allocations: 80.59 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5297, allocations: 0 / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5297, allocations: 1.125 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.5297, allocations: 0 / 0.8195 GB, free: 15.72 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.0004142/0.5301, allocations: 304.1 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5302, allocations: 14.28 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.5302, allocations: 31.41 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.5302, allocations: 8.859 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.5303, allocations: 113 kB / 0.8199 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5303, allocations: 4.938 kB / 0.8199 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5303, allocations: 4.812 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.5304, allocations: 43.38 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5304, allocations: 3.938 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5304, allocations: 6.281 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5304, allocations: 0 / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.5305, allocations: 10.5 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.5308, allocations: 249.8 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.102e-05/0.5309, allocations: 24.45 kB / 0.8203 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.5309, allocations: 7.875 kB / 0.8203 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.5309, allocations: 0 / 0.8203 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.531, allocations: 63.5 kB / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.531, allocations: 0 / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001534/0.5312, allocations: 69.88 kB / 0.8204 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.5312, allocations: 51.97 kB / 0.8205 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.5313, allocations: 107.3 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5313, allocations: 29.3 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5313, allocations: 85.45 kB / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.5313, allocations: 11.02 kB / 0.8207 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.5314, allocations: 30.34 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.5314, allocations: 316.1 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.5315, allocations: 60.31 kB / 0.8211 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.5316, allocations: 77.55 kB / 0.8211 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.5316, allocations: 83.61 kB / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5317, allocations: 0.5625 kB / 0.8212 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001881/0.5318, allocations: 180.1 kB / 0.8214 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.5319, allocations: 38.88 kB / 0.8214 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5319, allocations: 1.922 kB / 0.8214 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5319, allocations: 2.531 kB / 0.8214 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.428e-05/0.5319, allocations: 0 / 0.8214 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5319, allocations: 2.016 kB / 0.8214 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.532, allocations: 27.58 kB / 0.8215 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5321, allocations: 6.953 kB / 0.8215 GB, free: 13.81 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 6.58e-05/0.5321, allocations: 123.2 kB / 0.8216 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.5321, allocations: 3.141 kB / 0.8216 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.5321, allocations: 4.203 kB / 0.8216 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5321, allocations: 0 / 0.8216 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5321, allocations: 3.516 kB / 0.8216 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5322, allocations: 0 / 0.8216 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.5322, allocations: 131.9 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.5322, allocations: 0 / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-06/0.5322, allocations: 4.453 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5322, allocations: 0.9375 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5322, allocations: 0 / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5322, allocations: 4.75 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5322, allocations: 4.094 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.302e-05/0.5323, allocations: 86.45 kB / 0.8218 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.5323, allocations: 7.375 kB / 0.8218 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.5323, allocations: 4.703 kB / 0.8218 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.5323, allocations: 4.562 kB / 0.8218 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.5324, allocations: 6.188 kB / 0.8218 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.5324, allocations: 3.406 kB / 0.8218 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.5324, allocations: 79.66 kB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5324, allocations: 0 / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001378/0.5325, allocations: 23.31 kB / 0.8219 GB, free: 13.34 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.0002936/0.5328, allocations: 0.6186 MB / 0.8225 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.533, allocations: 136.6 kB / 0.8227 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.533, allocations: 2.469 kB / 0.8227 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.533, allocations: 10.41 kB / 0.8227 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.5332, allocations: 7.484 kB / 0.8227 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.5342, allocations: 1.475 MB / 0.8241 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.5343, allocations: 66.19 kB / 0.8242 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.5343, allocations: 4.375 kB / 0.8242 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.5343, allocations: 12 kB / 0.8242 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5343, allocations: 3.938 kB / 0.8242 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.5544, allocations: 2.536 MB / 0.8267 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/7.163, allocations: 5.719 kB / 0.8267 GB, free: 10.23 MB / 0.6198 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: 10.243372949305922] Failed to read output from testmodel.py, exit status != 0: 7.239914710633457 7.257972303 6.724767132 Calling exit ...