Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001428/0.001428, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 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.001515/0.001515, allocations: 215.4 kB / 23.78 MB, free: 4.523 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9703/0.9703, allocations: 150 MB / 464 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002272/0.002272, allocations: 69.8 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1799, allocations: 89.17 MB / 0.729 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002021/0.1819, allocations: 0.6189 MB / 0.7297 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1836, allocations: 1.206 MB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.1837, allocations: 0 / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.1837, allocations: 3.938 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.1838, allocations: 15.88 kB / 0.7308 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.1845, allocations: 212.9 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.1848, allocations: 183.6 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.829e-05/0.1849, allocations: 11.98 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.185, allocations: 71.88 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1852, allocations: 59.86 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.1852, allocations: 16 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.1853, allocations: 27.98 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.1853, allocations: 7.984 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.1854, allocations: 59.83 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1856, allocations: 155.8 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1856, allocations: 4 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1856, allocations: 3.938 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1856, allocations: 0 / 0.7316 GB, free: 14.14 MB / 0.5606 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.0005411/0.1862, allocations: 361.5 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1862, allocations: 12.03 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.1862, allocations: 192 / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.1863, allocations: 30.75 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.1863, allocations: 8.938 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1864, allocations: 114.5 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1865, allocations: 4.375 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.1865, allocations: 24.28 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1866, allocations: 58 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1866, allocations: 3.938 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1866, allocations: 0 / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1866, allocations: 0 / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.1867, allocations: 19.98 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.1872, allocations: 287.9 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.1873, allocations: 38.56 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.1873, allocations: 16.8 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1873, allocations: 0 / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.1875, allocations: 95.39 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1875, allocations: 0 / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002757/0.1878, allocations: 101.6 kB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1879, allocations: 55.34 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.188, allocations: 121.8 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.188, allocations: 33.7 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.1881, allocations: 92.12 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.1881, allocations: 15.89 kB / 0.7331 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1882, allocations: 45.69 kB / 0.7331 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1884, allocations: 327.1 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1886, allocations: 115.4 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.1888, allocations: 167.6 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.189, allocations: 151.6 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.189, allocations: 4 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005023/0.1895, allocations: 324.2 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.1896, allocations: 71.39 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1896, allocations: 4.125 kB / 0.7342 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1896, allocations: 0 / 0.7342 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.028e-05/0.1896, allocations: 11.94 kB / 0.7342 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1896, allocations: 0 / 0.7342 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.19, allocations: 51.89 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.19, allocations: 15.98 kB / 0.7343 GB, free: 11.11 MB / 0.5606 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.0001155/0.1901, allocations: 123.8 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.1901, allocations: 11.94 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.1902, allocations: 8.375 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1902, allocations: 3.984 kB / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1902, allocations: 0 / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1902, allocations: 0 / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1903, allocations: 140.7 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1903, allocations: 0 / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.1903, allocations: 15.92 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1903, allocations: 0 / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1904, allocations: 4.062 kB / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1904, allocations: 0 / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1904, allocations: 8 kB / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1905, allocations: 117.3 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.1905, allocations: 7.891 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1906, allocations: 4 kB / 0.7347 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.1906, allocations: 96 / 0.7347 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.1906, allocations: 15.92 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.1906, allocations: 4 kB / 0.7347 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.1907, allocations: 91.27 kB / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1907, allocations: 3.938 kB / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002533/0.191, allocations: 27.94 kB / 0.7348 GB, free: 10.46 MB / 0.5606 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.0005234/0.1915, allocations: 0.6593 MB / 0.7355 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.1919, allocations: 282.1 kB / 0.7358 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1919, allocations: 0 / 0.7358 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.1919, allocations: 27.92 kB / 0.7358 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1922, allocations: 18.02 kB / 0.7358 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1945, allocations: 1.967 MB / 0.7377 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.666e-05/0.1945, allocations: 72.14 kB / 0.7378 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.1946, allocations: 7.938 kB / 0.7378 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.1946, allocations: 15.44 kB / 0.7378 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1946, allocations: 0 / 0.7378 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.2195, allocations: 3.266 MB / 0.741 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.59, allocations: 8.188 kB / 0.741 GB, free: 4.094 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.522205593064427] Failed to read output from testmodel.py, exit status != 0: 11.756458970950916 11.774138368 11.584692169 Calling exit ...