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.001323/0.001323, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.001674/0.001674, allocations: 159.2 kB / 22.29 MB, free: 3.512 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.467/1.467, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.302/1.302, allocations: 154.7 MB / 413.8 MB, free: 3.102 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 178] 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.002087/0.002087, allocations: 71.19 kB / 0.6181 GB, free: 1.117 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2337, allocations: 102 MB / 0.7177 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.002062/0.2357, allocations: 0.6353 MB / 0.7183 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.2376, allocations: 1.202 MB / 0.7195 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.2377, allocations: 0 / 0.7195 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.2377, allocations: 7.922 kB / 0.7195 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.2378, allocations: 15.86 kB / 0.7195 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.2385, allocations: 223.2 kB / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2387, allocations: 167.7 kB / 0.7198 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.2388, allocations: 12.27 kB / 0.7199 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.239, allocations: 95.86 kB / 0.7199 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2391, allocations: 59.84 kB / 0.72 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.2392, allocations: 15.94 kB / 0.72 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.2392, allocations: 32 kB / 0.7201 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.2393, allocations: 11.92 kB / 0.7201 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.2394, allocations: 51.89 kB / 0.7201 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.2396, allocations: 147.6 kB / 0.7203 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2396, allocations: 0 / 0.7203 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2396, allocations: 0 / 0.7203 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.2396, allocations: 0 / 0.7203 GB, free: 8.578 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.0005883/0.2402, allocations: 365.5 kB / 0.7206 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.2403, allocations: 11.97 kB / 0.7206 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.2403, allocations: 30.75 kB / 0.7206 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.2403, allocations: 16.89 kB / 0.7207 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2405, allocations: 114.5 kB / 0.7208 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.2405, allocations: 8.359 kB / 0.7208 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.2405, allocations: 12.31 kB / 0.7208 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2407, allocations: 50.25 kB / 0.7208 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2407, allocations: 3.938 kB / 0.7208 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2407, allocations: 0 / 0.7208 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2407, allocations: 0 / 0.7208 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.2407, allocations: 15.98 kB / 0.7209 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.2413, allocations: 299.8 kB / 0.7211 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.2414, allocations: 34.5 kB / 0.7212 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.2414, allocations: 16.86 kB / 0.7212 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.2414, allocations: 0 / 0.7212 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.2416, allocations: 79.47 kB / 0.7213 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2416, allocations: 0 / 0.7213 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000282/0.2419, allocations: 113.5 kB / 0.7214 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.242, allocations: 51.41 kB / 0.7214 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2421, allocations: 117.8 kB / 0.7215 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.2421, allocations: 33.7 kB / 0.7216 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.2422, allocations: 96.09 kB / 0.7217 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2422, allocations: 11.89 kB / 0.7217 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2423, allocations: 53.69 kB / 0.7217 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.2425, allocations: 322.8 kB / 0.722 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.2427, allocations: 119.4 kB / 0.7221 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2429, allocations: 151.7 kB / 0.7223 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.2431, allocations: 167.5 kB / 0.7224 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2431, allocations: 0 / 0.7224 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005143/0.2437, allocations: 324.3 kB / 0.7228 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.2437, allocations: 67.39 kB / 0.7228 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2437, allocations: 0 / 0.7228 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2437, allocations: 4 kB / 0.7228 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.2438, allocations: 3.984 kB / 0.7228 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2438, allocations: 4 kB / 0.7228 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.2441, allocations: 55.83 kB / 0.7229 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.2442, allocations: 20.55 kB / 0.7229 GB, free: 5.547 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.000129/0.2443, allocations: 129.7 kB / 0.723 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.2443, allocations: 7.953 kB / 0.723 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2443, allocations: 8.438 kB / 0.723 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.2443, allocations: 4 kB / 0.723 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2443, allocations: 3.938 kB / 0.7231 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2443, allocations: 0 / 0.7231 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2445, allocations: 148.7 kB / 0.7232 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2445, allocations: 0 / 0.7232 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.2445, allocations: 0 / 0.7232 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2445, allocations: 4 kB / 0.7232 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2445, allocations: 4 kB / 0.7232 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2445, allocations: 0 / 0.7232 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2445, allocations: 0 / 0.7232 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2448, allocations: 113 kB / 0.7233 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.2448, allocations: 7.984 kB / 0.7233 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2448, allocations: 3.938 kB / 0.7233 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.2448, allocations: 0 / 0.7233 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2449, allocations: 11.98 kB / 0.7233 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2449, allocations: 3.984 kB / 0.7233 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.2449, allocations: 87.28 kB / 0.7234 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2449, allocations: 8 kB / 0.7234 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002413/0.2452, allocations: 27.98 kB / 0.7235 GB, free: 4.914 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.0005275/0.2457, allocations: 0.6557 MB / 0.7241 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.2461, allocations: 274.1 kB / 0.7244 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2461, allocations: 4 kB / 0.7244 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.2462, allocations: 19.94 kB / 0.7244 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2464, allocations: 20.42 kB / 0.7244 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.2489, allocations: 1.973 MB / 0.7263 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.249, allocations: 71.33 kB / 0.7264 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.249, allocations: 7.781 kB / 0.7264 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.249, allocations: 24.42 kB / 0.7264 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.249, allocations: 4 kB / 0.7264 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.2843, allocations: 3.737 MB / 0.7301 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.69, allocations: 8.484 kB / 0.7301 GB, free: 14.02 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.936453768998035] Failed to read output from testmodel.py, exit status != 0: 11.812698620007723 11.838651564 11.594377566 Calling exit ...