Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007436/0.0007436, allocations: 101.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.001165/0.001165, allocations: 209.2 kB / 22.24 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.9651/0.9651, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.771/0.771, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_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.0008904/0.0008904, allocations: 65.52 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5402, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001388/0.5416, allocations: 0.6388 MB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.5426, allocations: 1.204 MB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.5426, allocations: 4 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.5427, allocations: 7.25 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.5427, allocations: 5.062 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.5432, allocations: 220.9 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.5434, allocations: 174.8 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.5435, allocations: 7.906 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.5436, allocations: 75.56 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.5437, allocations: 50.77 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.5437, allocations: 16.06 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.5438, allocations: 29.02 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.5438, allocations: 13.55 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.5439, allocations: 49.27 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.5441, allocations: 153 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5441, allocations: 0 / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5441, allocations: 3.469 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5441, allocations: 0 / 0.8204 GB, free: 15.43 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.0004106/0.5445, allocations: 356.6 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5446, allocations: 13.97 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.5446, allocations: 40.86 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.5446, allocations: 12.86 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.5447, allocations: 109.7 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5447, allocations: 5.578 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.5447, allocations: 10.95 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.5448, allocations: 51.95 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5449, allocations: 4.734 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.5449, allocations: 7.922 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5449, allocations: 0 / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.5449, allocations: 12.84 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.5453, allocations: 304.5 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.12e-05/0.5453, allocations: 27.88 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.5453, allocations: 20.02 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.5454, allocations: 0.5625 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.5455, allocations: 87.19 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.5455, allocations: 0 / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001926/0.5457, allocations: 101.8 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.5457, allocations: 52.06 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.5458, allocations: 117.4 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.5458, allocations: 37.36 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.5459, allocations: 95.14 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.5459, allocations: 14.77 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.5459, allocations: 49.95 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.546, allocations: 329.4 kB / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.5462, allocations: 123.5 kB / 0.8223 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.5463, allocations: 149.3 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.5464, allocations: 163.9 kB / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5464, allocations: 0 / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003076/0.5467, allocations: 321.1 kB / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.5468, allocations: 67.53 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5468, allocations: 1.75 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5468, allocations: 1.438 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-05/0.5468, allocations: 2.203 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5468, allocations: 7.656 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.547, allocations: 59.89 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.547, allocations: 19.7 kB / 0.823 GB, free: 13.1 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 7.929e-05/0.5471, allocations: 126.6 kB / 0.8231 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.5471, allocations: 7.656 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.5472, allocations: 9.438 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5472, allocations: 1.094 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5472, allocations: 2.203 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5472, allocations: 4 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.538e-05/0.5473, allocations: 147.1 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5473, allocations: 0 / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.5473, allocations: 2.109 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5473, allocations: 1.125 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.5473, allocations: 2.703 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5473, allocations: 0 / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5473, allocations: 1.531 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.5474, allocations: 124.2 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.5474, allocations: 3.719 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5474, allocations: 1.344 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.5474, allocations: 6.234 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.5475, allocations: 9.922 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.5475, allocations: 2.812 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.5475, allocations: 89.34 kB / 0.8235 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5475, allocations: 1.531 kB / 0.8235 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001756/0.5477, allocations: 31.52 kB / 0.8236 GB, free: 12.61 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.0003825/0.5481, allocations: 0.6549 MB / 0.8242 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.5484, allocations: 279.3 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5484, allocations: 4.062 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.5484, allocations: 21.3 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.5486, allocations: 18 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.5503, allocations: 1.962 MB / 0.8264 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.5503, allocations: 70.3 kB / 0.8265 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.5504, allocations: 12.55 kB / 0.8265 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.5504, allocations: 20.69 kB / 0.8265 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5504, allocations: 0 / 0.8265 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.5705, allocations: 3.626 MB / 0.8301 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/7.183, allocations: 14 kB / 0.8301 GB, free: 8.922 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.078352243173867] Failed to read output from testmodel.py, exit status != 0: 7.262121943756938 7.27999742 6.732948213 Calling exit ...