Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001303/0.001303, allocations: 105 kB / 20.48 MB, free: 1.488 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.001502/0.001502, allocations: 215 kB / 23.79 MB, free: 4.703 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.452/1.452, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.967/0.967, allocations: 150 MB / 464 MB, free: 10.52 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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",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.001998/0.001998, allocations: 62.86 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1786, allocations: 89.17 MB / 0.7291 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003506/0.1821, allocations: 1.822 MB / 0.7309 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1844, allocations: 1.193 MB / 0.7321 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1845, allocations: 7.938 kB / 0.7321 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.1852, allocations: 167.5 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.1856, allocations: 155.5 kB / 0.7324 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.186, allocations: 151.2 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1862, allocations: 175.5 kB / 0.7327 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.1863, allocations: 17.3 kB / 0.7327 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1864, allocations: 67.77 kB / 0.7328 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1866, allocations: 87.55 kB / 0.7328 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1866, allocations: 8 kB / 0.7329 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1867, allocations: 75.92 kB / 0.7329 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.1868, allocations: 43.84 kB / 0.733 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1869, allocations: 67.55 kB / 0.733 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1872, allocations: 203.5 kB / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1872, allocations: 0 / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1872, allocations: 0 / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.1872, allocations: 0 / 0.7332 GB, free: 13.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007782/0.188, allocations: 438.8 kB / 0.7336 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.188, allocations: 8.031 kB / 0.7337 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.39e-05/0.188, allocations: 4.172 kB / 0.7337 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.1881, allocations: 38.75 kB / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1881, allocations: 28.73 kB / 0.7337 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1884, allocations: 186.2 kB / 0.7339 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1885, allocations: 16.12 kB / 0.7339 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1885, allocations: 0 / 0.7339 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1887, allocations: 91.31 kB / 0.734 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1887, allocations: 0 / 0.734 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1887, allocations: 4 kB / 0.734 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.1887, allocations: 4 kB / 0.734 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1888, allocations: 35.92 kB / 0.734 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.1893, allocations: 323.8 kB / 0.7344 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1895, allocations: 74.61 kB / 0.7344 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.1896, allocations: 28.84 kB / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1896, allocations: 4 kB / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1898, allocations: 79.39 kB / 0.7345 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 3.567e-06/0.1898, allocations: 3.984 kB / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003592/0.1902, allocations: 149.7 kB / 0.7347 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1902, allocations: 81.09 kB / 0.7348 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1906, allocations: 279 kB / 0.735 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1906, allocations: 25.7 kB / 0.735 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.1907, allocations: 120.1 kB / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1907, allocations: 31.72 kB / 0.7352 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.1907, allocations: 25.72 kB / 0.7352 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1909, allocations: 330.8 kB / 0.7355 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.191, allocations: 27.98 kB / 0.7356 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.772e-05/0.1911, allocations: 57.5 kB / 0.7356 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1912, allocations: 81.66 kB / 0.7357 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1912, allocations: 0 / 0.7357 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002212/0.1914, allocations: 113.5 kB / 0.7358 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1915, allocations: 14.64 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1915, allocations: 0 / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1915, allocations: 0 / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.1916, allocations: 8 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1916, allocations: 7.938 kB / 0.7358 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.1916, allocations: 8.031 kB / 0.7358 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1916, allocations: 0 / 0.7358 GB, free: 10.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001468/0.1918, allocations: 153.9 kB / 0.736 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.1918, allocations: 23.8 kB / 0.736 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1921, allocations: 119.1 kB / 0.7361 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.1921, allocations: 11.94 kB / 0.7361 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1921, allocations: 3.938 kB / 0.7361 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1921, allocations: 4 kB / 0.7361 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1923, allocations: 196.6 kB / 0.7363 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1923, allocations: 0 / 0.7363 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.1923, allocations: 4 kB / 0.7363 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1923, allocations: 0 / 0.7363 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1924, allocations: 8 kB / 0.7363 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1924, allocations: 4 kB / 0.7363 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1924, allocations: 7.875 kB / 0.7363 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1926, allocations: 145 kB / 0.7365 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.1926, allocations: 15.91 kB / 0.7365 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1927, allocations: 4 kB / 0.7365 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.1927, allocations: 11.97 kB / 0.7365 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1928, allocations: 3.938 kB / 0.7365 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1928, allocations: 4 kB / 0.7365 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002169/0.193, allocations: 208.5 kB / 0.7367 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.193, allocations: 0 / 0.7367 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002527/0.1932, allocations: 35.88 kB / 0.7368 GB, free: 9.191 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.002073/0.1953, allocations: 0.9892 MB / 0.7377 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1955, allocations: 79.89 kB / 0.7378 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1955, allocations: 0 / 0.7378 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.1956, allocations: 35.98 kB / 0.7378 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1959, allocations: 48.16 kB / 0.7379 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1983, allocations: 1.991 MB / 0.7398 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1987, allocations: 0.728 MB / 0.7405 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.1988, allocations: 21.72 kB / 0.7406 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1989, allocations: 51.42 kB / 0.7406 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.1989, allocations: 0 / 0.7406 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.2246, allocations: 4.813 MB / 0.7453 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.8, allocations: 7.219 kB / 0.7453 GB, free: 0.582 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.639921482012141] Failed to read output from testmodel.py, exit status != 0: 12.016412967990618 12.033152519 11.842696727 Calling exit ...