Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0007618/0.0007618, 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.001205/0.001205, allocations: 209.2 kB / 22.25 MB, free: 3.586 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.9361/0.9361, allocations: 230.6 MB / 256 MB, free: 9.609 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.773/0.773, allocations: 203.5 MB / 0.5039 GB, free: 10.68 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.And,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And",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.0009726/0.0009726, allocations: 78.14 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5251, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001417/0.5265, allocations: 0.6449 MB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.5276, allocations: 1.207 MB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.5277, allocations: 0 / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.5277, allocations: 3.938 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.5278, allocations: 13.19 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.5283, allocations: 216.2 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.5285, allocations: 173.6 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.5286, allocations: 9.688 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.5287, allocations: 67.91 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.5288, allocations: 49.95 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.5289, allocations: 14.84 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.594e-05/0.5289, allocations: 31.95 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.5289, allocations: 17.28 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.529, allocations: 50.53 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.5292, allocations: 157.9 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5292, allocations: 0.6562 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5292, allocations: 1.406 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5293, allocations: 0 / 0.82 GB, free: 15.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004194/0.5297, allocations: 359.1 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5297, allocations: 8.844 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.5297, allocations: 35.78 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.5298, allocations: 11.67 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.5299, allocations: 123 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5299, allocations: 6.297 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.5299, allocations: 7.453 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.53, allocations: 50.11 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.53, allocations: 3.938 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.53, allocations: 0.7031 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.53, allocations: 4.719 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.5301, allocations: 13.5 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.5304, allocations: 297.4 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.5305, allocations: 29.41 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.5305, allocations: 32.62 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.5305, allocations: 0.6094 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.5307, allocations: 86.36 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.5307, allocations: 0 / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002049/0.5309, allocations: 100.1 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.5309, allocations: 51.41 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.531, allocations: 122.6 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.531, allocations: 32.27 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.5311, allocations: 96.53 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.5311, allocations: 16.05 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.5312, allocations: 50.67 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.5313, allocations: 328.6 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5314, allocations: 119.4 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.5315, allocations: 156 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.5317, allocations: 162.7 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5317, allocations: 0 / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003436/0.532, allocations: 328.1 kB / 0.8225 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.5321, allocations: 65.81 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5321, allocations: 0 / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5321, allocations: 3.406 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.763e-05/0.5321, allocations: 6.906 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5321, allocations: 3.125 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5324, allocations: 54.48 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.5324, allocations: 19.38 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.503e-05/0.5325, allocations: 124 kB / 0.8227 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.5325, allocations: 6.922 kB / 0.8228 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.5325, allocations: 11.42 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5325, allocations: 0.6094 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5325, allocations: 1 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5325, allocations: 0.6562 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.5326, allocations: 143.8 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5326, allocations: 0.5156 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.5326, allocations: 8.453 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5326, allocations: 1.281 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5327, allocations: 2.812 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5327, allocations: 0 / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5327, allocations: 0.6094 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.5328, allocations: 117.3 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.5328, allocations: 3.219 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.5328, allocations: 1.984 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.5328, allocations: 1.812 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.5329, allocations: 12.61 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5329, allocations: 3.906 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.5329, allocations: 98.34 kB / 0.8231 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5329, allocations: 0 / 0.8231 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000178/0.5331, allocations: 31.16 kB / 0.8232 GB, free: 12.82 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003331/0.5334, allocations: 0.6543 MB / 0.8238 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.5337, allocations: 276.3 kB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5337, allocations: 1.5 kB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.5338, allocations: 23.44 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.534, allocations: 20.39 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.5355, allocations: 1.958 MB / 0.826 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.5355, allocations: 71.97 kB / 0.8261 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.5356, allocations: 7.625 kB / 0.8261 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.5356, allocations: 21.06 kB / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of SimCode: time 7.32e-07/0.5356, allocations: 4 kB / 0.8261 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.5556, allocations: 3.635 MB / 0.8297 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/7.26, allocations: 3.844 kB / 0.8297 GB, free: 9.137 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.169214030262083] Failed to read output from testmodel.py, exit status != 0: 7.336146857123822 7.347694328 6.815925808 Calling exit ...