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.001363/0.001363, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.002338/0.002338, allocations: 212 kB / 22.25 MB, free: 3.578 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 1.026/1.026, 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 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.7835/0.7835, allocations: 203.5 MB / 0.5039 GB, free: 10.75 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.001119/0.001119, allocations: 70.8 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5503, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001646/0.552, allocations: 0.6348 MB / 0.818 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.5532, allocations: 1.209 MB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.5533, allocations: 3.031 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.5533, allocations: 4.641 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.5534, allocations: 9.75 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.554, allocations: 223.8 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.5542, allocations: 176.5 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.5543, allocations: 7.672 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.5544, allocations: 67.41 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.5545, allocations: 59.39 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.5545, allocations: 14.16 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.5546, allocations: 22.3 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.5546, allocations: 9.688 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.5547, allocations: 58.5 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.555, allocations: 151 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.555, allocations: 4 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.216e-06/0.555, allocations: 2.688 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.555, allocations: 0.8438 kB / 0.82 GB, free: 15.64 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.0009996/0.556, allocations: 361 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.5561, allocations: 8.875 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.5561, allocations: 38.78 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.5562, allocations: 11.58 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5563, allocations: 106.7 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.5563, allocations: 5.734 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.5564, allocations: 10.11 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5565, allocations: 54.06 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5565, allocations: 3.938 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.5565, allocations: 4.594 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5565, allocations: 2 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.5566, allocations: 12.97 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.5571, allocations: 296.3 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5572, allocations: 33.02 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.5573, allocations: 23.34 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5573, allocations: 3.938 kB / 0.8209 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.5576, allocations: 86.42 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.5576, allocations: 1.312 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002263/0.5578, allocations: 104.1 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.5578, allocations: 57.12 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.5579, allocations: 129.9 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.5579, allocations: 30.14 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.558, allocations: 92.72 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.558, allocations: 14.91 kB / 0.8214 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.5581, allocations: 50.91 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.5582, allocations: 319.2 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5583, allocations: 122.1 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.5584, allocations: 156.1 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.5586, allocations: 156.4 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5586, allocations: 0 / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003575/0.5589, allocations: 325 kB / 0.8225 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.559, allocations: 69.58 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.559, allocations: 4.688 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.559, allocations: 0 / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.559, allocations: 6.922 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5591, allocations: 4.75 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.5593, allocations: 54.16 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5593, allocations: 11.92 kB / 0.8226 GB, free: 13.32 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 0.0001294/0.5595, allocations: 127.2 kB / 0.8227 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.5595, allocations: 13.73 kB / 0.8227 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.5595, allocations: 9.031 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5595, allocations: 0 / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5595, allocations: 2.625 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5595, allocations: 4.547 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.5597, allocations: 145.4 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5597, allocations: 0.6094 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.5597, allocations: 5.891 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5597, allocations: 2.031 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5597, allocations: 4.547 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5597, allocations: 6.641 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5597, allocations: 0 / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.5599, allocations: 117 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.5599, allocations: 2.625 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.5599, allocations: 2.203 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.5599, allocations: 4.75 kB / 0.823 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.56, allocations: 10.53 kB / 0.823 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.56, allocations: 3 kB / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.56, allocations: 91.17 kB / 0.8231 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.56, allocations: 1.406 kB / 0.8231 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001856/0.5602, allocations: 31.44 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.0004301/0.5607, allocations: 0.6478 MB / 0.8238 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.561, allocations: 279.6 kB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.561, allocations: 0 / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.561, allocations: 26.81 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.000204/0.5612, allocations: 15.08 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.001835/0.5631, allocations: 1.969 MB / 0.826 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.535e-05/0.5631, allocations: 71.27 kB / 0.8261 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.5632, allocations: 8.406 kB / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.5632, allocations: 20.92 kB / 0.8261 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.5632, allocations: 3.938 kB / 0.8261 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.5841, allocations: 3.628 MB / 0.8297 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.656, allocations: 7.781 kB / 0.8297 GB, free: 9.129 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.719960711430758] Failed to read output from testmodel.py, exit status != 0: 7.735184166114777 7.750295336 7.192540393 Calling exit ...