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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007587/0.007587, allocations: 100.8 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 197.5 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7371/0.7371, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.73 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.197, allocations: 77.93 MB / 0.5665 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003717/0.2008, allocations: 1.823 MB / 0.5683 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2024, allocations: 1.01 MB / 0.5693 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.2025, allocations: 0 / 0.5693 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.2032, allocations: 171 kB / 0.5694 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.2034, allocations: 95.75 kB / 0.5695 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.2039, allocations: 153.7 kB / 0.5697 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2042, allocations: 167.6 kB / 0.5698 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2043, allocations: 25.09 kB / 0.5699 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2045, allocations: 71.62 kB / 0.5699 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2046, allocations: 55.77 kB / 0.57 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2046, allocations: 4 kB / 0.57 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2048, allocations: 55.95 kB / 0.57 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.205, allocations: 43.78 kB / 0.5701 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.2051, allocations: 59.59 kB / 0.5701 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.2055, allocations: 183.8 kB / 0.5703 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2055, allocations: 3.984 kB / 0.5703 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2055, allocations: 4 kB / 0.5703 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2055, allocations: 0 / 0.5703 GB, free: 12.8 MB / 446.1 MB 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.0009426/0.2065, allocations: 490 kB / 0.5708 GB, free: 12.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2065, allocations: 12.03 kB / 0.5708 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.2066, allocations: 16.75 kB / 0.5708 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2069, allocations: 256.7 kB / 0.5711 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2069, allocations: 4.375 kB / 0.5711 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.207, allocations: 12.12 kB / 0.5711 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.2072, allocations: 87.38 kB / 0.5712 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2072, allocations: 0 / 0.5712 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2072, allocations: 0 / 0.5712 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2072, allocations: 7.938 kB / 0.5712 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2074, allocations: 35.98 kB / 0.5712 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.2079, allocations: 352.7 kB / 0.5715 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.2082, allocations: 78.61 kB / 0.5716 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.2082, allocations: 28.86 kB / 0.5716 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.2083, allocations: 7.984 kB / 0.5716 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.2086, allocations: 87.31 kB / 0.5717 GB, free: 11.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.2086, allocations: 0 / 0.5717 GB, free: 11.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003636/0.2089, allocations: 141.4 kB / 0.5719 GB, free: 11.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/0.2091, allocations: 81.11 kB / 0.5719 GB, free: 10.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.2096, allocations: 267.9 kB / 0.5722 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2096, allocations: 25.7 kB / 0.5722 GB, free: 10.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.2098, allocations: 116.1 kB / 0.5723 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.2098, allocations: 27.64 kB / 0.5724 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.2099, allocations: 29.7 kB / 0.5724 GB, free: 10.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.2101, allocations: 334.8 kB / 0.5727 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.2102, allocations: 27.92 kB / 0.5727 GB, free: 10.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.2104, allocations: 63.41 kB / 0.5728 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2105, allocations: 65.7 kB / 0.5729 GB, free: 9.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2105, allocations: 8.031 kB / 0.5729 GB, free: 9.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001993/0.2107, allocations: 113.8 kB / 0.573 GB, free: 9.828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2107, allocations: 4 kB / 0.573 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2108, allocations: 0 / 0.573 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.2108, allocations: 4 kB / 0.573 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.2109, allocations: 15.88 kB / 0.573 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2109, allocations: 3.984 kB / 0.573 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.211, allocations: 11.84 kB / 0.573 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.211, allocations: 8 kB / 0.573 GB, free: 9.781 MB / 446.1 MB 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.0001307/0.2111, allocations: 141.9 kB / 0.5732 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.2112, allocations: 15.81 kB / 0.5732 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.2112, allocations: 21.5 kB / 0.5732 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.2112, allocations: 7.938 kB / 0.5732 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2112, allocations: 0 / 0.5732 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2114, allocations: 7.938 kB / 0.5732 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2116, allocations: 221.5 kB / 0.5734 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2116, allocations: 0 / 0.5734 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.2116, allocations: 4 kB / 0.5734 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2116, allocations: 7.984 kB / 0.5734 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2116, allocations: 3.984 kB / 0.5734 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2116, allocations: 3.938 kB / 0.5734 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2116, allocations: 4 kB / 0.5734 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.2119, allocations: 140.9 kB / 0.5736 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.212, allocations: 92.91 kB / 0.5737 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.212, allocations: 4 kB / 0.5737 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.2121, allocations: 8 kB / 0.5737 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.2121, allocations: 7.984 kB / 0.5737 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2121, allocations: 7.938 kB / 0.5737 GB, free: 9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.2123, allocations: 195.3 kB / 0.5739 GB, free: 8.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2123, allocations: 0 / 0.5739 GB, free: 8.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.2126, allocations: 35.98 kB / 0.5739 GB, free: 8.773 MB / 446.1 MB 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.0009548/0.2135, allocations: 419.3 kB / 0.5743 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.2137, allocations: 75.91 kB / 0.5744 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2138, allocations: 0 / 0.5744 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.2139, allocations: 39.98 kB / 0.5744 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2142, allocations: 39.84 kB / 0.5745 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.2147, allocations: 332.8 kB / 0.5748 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.2152, allocations: 0.7204 MB / 0.5755 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.2154, allocations: 29.72 kB / 0.5755 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.2154, allocations: 15.44 kB / 0.5755 GB, free: 7.227 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2154, allocations: 0 / 0.5755 GB, free: 7.227 MB / 446.1 MB Notification: Performance of Templates: time 0.00621/0.2216, allocations: 2.185 MB / 0.5777 GB, free: 5.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)