Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.001015/0.001015, 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.0008211/0.0008211, 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.8734/0.8734, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7053/0.7053, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.Or,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.188e-06/4.188e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/3.183e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001624/0.001656, allocations: 0.6313 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003015, allocations: 1.225 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.003056, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.003083, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.003146, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.003693, allocations: 228.3 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.003878, allocations: 171.7 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003983, allocations: 11.98 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.004095, allocations: 95.86 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.004201, allocations: 51.84 kB / 0.6205 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.004228, allocations: 16 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.004292, allocations: 31.92 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.004312, allocations: 4 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.004369, allocations: 51.95 kB / 0.6206 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.004793, allocations: 187.5 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004796, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004797, allocations: 4 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004802, allocations: 0 / 0.6207 GB, free: 10.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003841/0.005186, allocations: 353.6 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.005222, allocations: 12.03 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.005245, allocations: 30.75 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.005285, allocations: 12.89 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.005354, allocations: 113.7 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005368, allocations: 8.375 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.005393, allocations: 12.36 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.005484, allocations: 46.25 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.005491, allocations: 192 / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.0055, allocations: 12.31 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005505, allocations: 4.125 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.005538, allocations: 15.98 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.005897, allocations: 291.9 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/0.005959, allocations: 30.67 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.005981, allocations: 16.84 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.005992, allocations: 7.875 kB / 0.6217 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.006125, allocations: 75.38 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.006126, allocations: 0 / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001973/0.006323, allocations: 105.6 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.006369, allocations: 55.41 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.006439, allocations: 129.7 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.006463, allocations: 29.7 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.006511, allocations: 92.12 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.006525, allocations: 19.89 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.006586, allocations: 49.69 kB / 0.6222 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.006659, allocations: 314.8 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.006776, allocations: 119.4 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.006894, allocations: 155.7 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.007023, allocations: 163.6 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007026, allocations: 3.938 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002959/0.007321, allocations: 324.2 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.007363, allocations: 69.42 kB / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.007369, allocations: 0 / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.007378, allocations: 0 / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-05/0.007396, allocations: 12.06 kB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.007404, allocations: 7.984 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.007597, allocations: 51.88 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.007618, allocations: 12 kB / 0.6234 GB, free: 7.977 MB / 0.5886 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,or1.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 6.941e-05/0.007688, allocations: 126.8 kB / 0.6235 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.007696, allocations: 7.953 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.007717, allocations: 8.906 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007719, allocations: 4.062 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007724, allocations: 4 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007727, allocations: 0 / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.007812, allocations: 148.7 kB / 0.6237 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007813, allocations: 3.938 kB / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-06/0.007819, allocations: 7.938 kB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.00782, allocations: 3.938 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.007826, allocations: 4 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007826, allocations: 0 / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007828, allocations: 4 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/0.007923, allocations: 109 kB / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.007929, allocations: 7.953 kB / 0.6238 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.007941, allocations: 11.98 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.007954, allocations: 0 / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.007981, allocations: 0 / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.007986, allocations: 7.984 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.008018, allocations: 87.28 kB / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008018, allocations: 0 / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001585/0.008177, allocations: 35.94 kB / 0.6239 GB, free: 7.332 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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.0002962/0.008473, allocations: 0.6548 MB / 0.6246 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.008737, allocations: 282.1 kB / 0.6248 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008739, allocations: 0 / 0.6248 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.008769, allocations: 28.41 kB / 0.6249 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.008931, allocations: 20.11 kB / 0.6249 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.01057, allocations: 1.953 MB / 0.6268 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.01061, allocations: 75.53 kB / 0.6269 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.01063, allocations: 4 kB / 0.6269 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.01067, allocations: 24.48 kB / 0.6269 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.01067, allocations: 96 / 0.6269 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02702, allocations: 3.739 MB / 0.6305 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.781, allocations: 1.875 kB / 0.6306 GB, free: 0.5 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.444632600061595] Failed to read output from testmodel.py, exit status != 0: 6.8609574502334 6.869791033 6.863298768 Calling exit ...