Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.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.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 98.31 kB / 16.26 MB, free: 5.934 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.001841/0.001841, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7812/0.7812, allocations: 122.9 MB / 413.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 0.4911 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3692, allocations: 77.93 MB / 0.5672 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002682/0.372, allocations: 1.625 MB / 0.5688 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.3728, allocations: 0.5341 MB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.3729, allocations: 2.906 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.373, allocations: 32.09 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3733, allocations: 56 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.3734, allocations: 66.97 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3736, allocations: 132.5 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.3738, allocations: 56.27 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.374, allocations: 53.45 kB / 0.5697 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3741, allocations: 63.44 kB / 0.5698 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.3742, allocations: 8 kB / 0.5698 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.3743, allocations: 25.03 kB / 0.5698 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3744, allocations: 41.75 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.3745, allocations: 63.92 kB / 0.5699 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3747, allocations: 141.4 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3747, allocations: 0 / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3747, allocations: 1.188 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3747, allocations: 3.938 kB / 0.57 GB, free: 30.93 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000577/0.3753, allocations: 464.7 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3754, allocations: 10.31 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.3754, allocations: 18.34 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3757, allocations: 245.5 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3757, allocations: 3.625 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3757, allocations: 8.594 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.376, allocations: 111.8 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.376, allocations: 1.875 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.376, allocations: 2.531 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.376, allocations: 1.094 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.3763, allocations: 68.28 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.3768, allocations: 395.1 kB / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.377, allocations: 41.62 kB / 0.5714 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3771, allocations: 29.36 kB / 0.5714 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3771, allocations: 1.781 kB / 0.5714 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.3774, allocations: 95.27 kB / 0.5715 GB, free: 29.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3774, allocations: 0 / 0.5715 GB, free: 29.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004426/0.3778, allocations: 128.5 kB / 0.5716 GB, free: 29.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3779, allocations: 77.72 kB / 0.5717 GB, free: 29.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3781, allocations: 252.1 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3781, allocations: 28.11 kB / 0.5719 GB, free: 29.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.3782, allocations: 126.8 kB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.3782, allocations: 10.72 kB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.3783, allocations: 14.75 kB / 0.5721 GB, free: 29.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.3783, allocations: 330.2 kB / 0.5724 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3784, allocations: 24.72 kB / 0.5724 GB, free: 28.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3786, allocations: 49.59 kB / 0.5725 GB, free: 28.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.3788, allocations: 73.03 kB / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3788, allocations: 0 / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002708/0.3791, allocations: 101.3 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3791, allocations: 7.406 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3791, allocations: 5.812 kB / 0.5727 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3791, allocations: 8.938 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3793, allocations: 11.81 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3793, allocations: 1.875 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.3794, allocations: 19.89 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3794, allocations: 1.766 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 7.669e-05/0.3795, allocations: 130.2 kB / 0.5728 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3795, allocations: 20.62 kB / 0.5728 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.3795, allocations: 17.11 kB / 0.5729 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3796, allocations: 5.859 kB / 0.5729 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3796, allocations: 4.562 kB / 0.5729 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3796, allocations: 0.8125 kB / 0.5729 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3797, allocations: 213.6 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3797, allocations: 0.75 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.3798, allocations: 11.5 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3798, allocations: 4.219 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.3798, allocations: 0 / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3798, allocations: 6 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3799, allocations: 0 / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3801, allocations: 122.9 kB / 0.5732 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.3802, allocations: 94.41 kB / 0.5733 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3802, allocations: 5.062 kB / 0.5733 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.3803, allocations: 13.67 kB / 0.5733 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3803, allocations: 8.156 kB / 0.5733 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3804, allocations: 7.547 kB / 0.5733 GB, free: 28.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.3805, allocations: 190.1 kB / 0.5735 GB, free: 28.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3805, allocations: 0 / 0.5735 GB, free: 28.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.3808, allocations: 24.86 kB / 0.5735 GB, free: 28.15 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000187/0.381, allocations: 114 kB / 0.5736 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.3813, allocations: 61.47 kB / 0.5737 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3813, allocations: 0 / 0.5737 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3814, allocations: 28.45 kB / 0.5737 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3817, allocations: 50.11 kB / 0.5738 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.3822, allocations: 292.2 kB / 0.5741 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3823, allocations: 0.7156 MB / 0.5748 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.3824, allocations: 16.14 kB / 0.5748 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.3824, allocations: 15.88 kB / 0.5748 GB, free: 27.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3824, allocations: 1.219 kB / 0.5748 GB, free: 27.13 MB / 446.1 MB Notification: Performance of Templates: time 0.005038/0.3875, allocations: 1.756 MB / 0.5765 GB, free: 26.98 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)