Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.001273/0.001273, allocations: 76.45 kB / 19.03 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.001453/0.001453, allocations: 164.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.384/1.384, 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.229/1.229, allocations: 154.7 MB / 413.8 MB, free: 3.141 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.Xor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",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.002047/0.002047, allocations: 64.84 kB / 0.6181 GB, free: 1.004 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.2076/0.2097, allocations: 102 MB / 0.7177 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002042/0.2117, allocations: 0.6297 MB / 0.7183 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.2137, allocations: 1.213 MB / 0.7195 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.2138, allocations: 4 kB / 0.7195 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.2138, allocations: 3.938 kB / 0.7195 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.2139, allocations: 15.91 kB / 0.7195 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.2146, allocations: 208.6 kB / 0.7197 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.2148, allocations: 179.7 kB / 0.7198 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.2149, allocations: 8.281 kB / 0.7199 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.2151, allocations: 99.84 kB / 0.72 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.2152, allocations: 55.84 kB / 0.72 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.2153, allocations: 16 kB / 0.72 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.2153, allocations: 28 kB / 0.72 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.2154, allocations: 11.92 kB / 0.7201 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.2155, allocations: 55.89 kB / 0.7201 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2157, allocations: 151.6 kB / 0.7203 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2157, allocations: 0 / 0.7203 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2157, allocations: 7.938 kB / 0.7203 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2157, allocations: 3.938 kB / 0.7203 GB, free: 8.453 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.0005444/0.2163, allocations: 361.5 kB / 0.7206 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2163, allocations: 8.031 kB / 0.7206 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.2163, allocations: 34.73 kB / 0.7207 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.2164, allocations: 12.89 kB / 0.7207 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2165, allocations: 110.5 kB / 0.7208 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2165, allocations: 4.375 kB / 0.7208 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.2166, allocations: 12.38 kB / 0.7208 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.2167, allocations: 50.23 kB / 0.7208 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2167, allocations: 3.938 kB / 0.7208 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2167, allocations: 4 kB / 0.7208 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2167, allocations: 0 / 0.7208 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.2167, allocations: 27.92 kB / 0.7209 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.2172, allocations: 299.8 kB / 0.7212 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.2173, allocations: 34.56 kB / 0.7212 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.2174, allocations: 12.86 kB / 0.7212 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.2174, allocations: 0 / 0.7212 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.2176, allocations: 91.39 kB / 0.7213 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2176, allocations: 0 / 0.7213 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00026/0.2178, allocations: 109.6 kB / 0.7214 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.2179, allocations: 51.41 kB / 0.7214 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.218, allocations: 117.8 kB / 0.7216 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.218, allocations: 33.64 kB / 0.7216 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.2181, allocations: 100.1 kB / 0.7217 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.2181, allocations: 11.91 kB / 0.7217 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.2182, allocations: 49.69 kB / 0.7217 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2184, allocations: 322.8 kB / 0.722 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.2186, allocations: 119.4 kB / 0.7222 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2188, allocations: 151.7 kB / 0.7223 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.219, allocations: 168 kB / 0.7225 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.219, allocations: 4 kB / 0.7225 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005079/0.2195, allocations: 324.2 kB / 0.7228 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.2196, allocations: 69.58 kB / 0.7228 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2196, allocations: 4 kB / 0.7228 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2196, allocations: 0 / 0.7228 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.393e-05/0.2196, allocations: 12.06 kB / 0.7229 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2196, allocations: 0 / 0.7229 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.22, allocations: 51.89 kB / 0.7229 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.22, allocations: 19.98 kB / 0.7229 GB, free: 5.414 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,xor1.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.0001362/0.2202, allocations: 127.8 kB / 0.7231 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.2202, allocations: 3.953 kB / 0.7231 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.2202, allocations: 16.42 kB / 0.7231 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2202, allocations: 4 kB / 0.7231 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2202, allocations: 0 / 0.7231 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2202, allocations: 3.984 kB / 0.7231 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2204, allocations: 144.7 kB / 0.7232 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2204, allocations: 0 / 0.7232 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.2204, allocations: 4 kB / 0.7232 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2204, allocations: 0 / 0.7232 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2204, allocations: 7.922 kB / 0.7232 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2204, allocations: 0 / 0.7232 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2204, allocations: 0 / 0.7232 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.2206, allocations: 117 kB / 0.7233 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.2206, allocations: 4 kB / 0.7233 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2206, allocations: 4 kB / 0.7233 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.58e-05/0.2206, allocations: 4 kB / 0.7234 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2207, allocations: 7.984 kB / 0.7234 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2207, allocations: 0 / 0.7234 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.2207, allocations: 95.2 kB / 0.7234 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2207, allocations: 0 / 0.7234 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002368/0.221, allocations: 32 kB / 0.7235 GB, free: 4.781 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,xor1.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.000552/0.2215, allocations: 0.6595 MB / 0.7241 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.2219, allocations: 286.2 kB / 0.7244 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2219, allocations: 0 / 0.7244 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.222, allocations: 19.98 kB / 0.7244 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.2222, allocations: 23.86 kB / 0.7244 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.2248, allocations: 1.971 MB / 0.7264 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.2249, allocations: 75.58 kB / 0.7264 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.2249, allocations: 7.781 kB / 0.7264 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.2249, allocations: 16.5 kB / 0.7265 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2249, allocations: 0 / 0.7265 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.2578, allocations: 3.771 MB / 0.7301 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.56, allocations: 4.484 kB / 0.7301 GB, free: 13.85 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.52009214599093] Failed to read output from testmodel.py, exit status != 0: 11.671768022002652 11.704312092 11.482865669 Calling exit ...