Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007743/0.0007743, 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.0008148/0.0008148, 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.9438/0.9438, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.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.7683/0.7683, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.402e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00186/0.001884, allocations: 0.6369 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.003401, allocations: 1.213 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.003449, allocations: 7.938 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.00348, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.003557, allocations: 19.86 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.004161, allocations: 214.3 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.004343, allocations: 179.7 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.004439, allocations: 8 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.004552, allocations: 95.86 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.004657, allocations: 59.83 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.004684, allocations: 16 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.133e-05/0.004745, allocations: 24 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.004765, allocations: 7.984 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.004824, allocations: 55.89 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.005046, allocations: 179.6 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005049, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.272e-06/0.00505, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.005054, 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.0003914/0.005446, allocations: 357.6 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.005484, allocations: 13.47 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.005513, allocations: 34.69 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.005555, allocations: 12.89 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.005635, allocations: 121.7 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.005651, allocations: 8.359 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.005671, allocations: 8.375 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.005763, allocations: 54.19 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.005769, allocations: 192 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.005777, allocations: 384 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005783, allocations: 4.125 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.005824, allocations: 15.98 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.006257, allocations: 295.9 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.006337, allocations: 38.56 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.006359, allocations: 12.86 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.006369, allocations: 3.938 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.006501, allocations: 87.39 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.006502, allocations: 3.938 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002039/0.006706, allocations: 105.6 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.006742, allocations: 51.41 kB / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.006812, allocations: 121.8 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.006833, allocations: 33.7 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.006887, allocations: 96.14 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.006901, allocations: 7.906 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.006965, allocations: 49.69 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.007044, allocations: 322.8 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.007168, allocations: 123.3 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.007288, allocations: 151.7 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.007416, allocations: 155.6 kB / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.007419, allocations: 7.938 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002993/0.007718, allocations: 328.2 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.007758, allocations: 67.39 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.007765, allocations: 4.469 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007777, allocations: 0 / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.007794, allocations: 4 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.007801, allocations: 3.938 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.008004, allocations: 60 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.008027, allocations: 15.92 kB / 0.6233 GB, free: 7.957 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,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 7.314e-05/0.0081, allocations: 126.8 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.008108, allocations: 4.016 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.008133, allocations: 24.36 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008135, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.00814, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.008144, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.113e-05/0.008235, allocations: 148.7 kB / 0.6236 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008237, allocations: 3.984 kB / 0.6236 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-06/0.008242, allocations: 4 kB / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008243, allocations: 0 / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.00825, allocations: 0 / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008251, allocations: 0 / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008253, allocations: 0 / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.008359, allocations: 121.3 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.008367, allocations: 3.953 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.00838, allocations: 8 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.008394, allocations: 0 / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.008435, allocations: 11.98 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-06/0.00844, allocations: 0 / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.008472, allocations: 91.27 kB / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008472, allocations: 0 / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001618/0.008634, allocations: 35.94 kB / 0.6239 GB, free: 7.312 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,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.0003261/0.00896, allocations: 0.6593 MB / 0.6245 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.009218, allocations: 286.1 kB / 0.6248 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009219, allocations: 0 / 0.6248 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.009248, allocations: 16.25 kB / 0.6248 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.009415, allocations: 26.44 kB / 0.6249 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.01083, allocations: 1.964 MB / 0.6268 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.01087, allocations: 67.34 kB / 0.6268 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.0109, allocations: 4 kB / 0.6268 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.01093, allocations: 28.48 kB / 0.6269 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of SimCode: time 4.7e-07/0.01093, allocations: 0 / 0.6269 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.02681, allocations: 3.765 MB / 0.6305 GB, free: 452 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/6.869, allocations: 6.125 kB / 0.6306 GB, free: 448 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.67553732264787] Failed to read output from testmodel.py, exit status != 0: 6.947233567945659 6.955616262 6.948621793 Calling exit ...