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.001141/0.001141, allocations: 103.3 kB / 15.98 MB, free: 6.355 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.001174/0.001174, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7426/0.7426, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4033, allocations: 77.94 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003391/0.4068, allocations: 1.687 MB / 0.5684 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.4077, allocations: 0.5308 MB / 0.5689 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.4078, allocations: 6.781 kB / 0.5689 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.4081, allocations: 25.47 kB / 0.5689 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.4084, allocations: 57.89 kB / 0.569 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.4086, allocations: 56.73 kB / 0.569 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.4088, allocations: 125 kB / 0.5692 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.409, allocations: 50.5 kB / 0.5692 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.4091, allocations: 61.77 kB / 0.5693 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.4092, allocations: 69.11 kB / 0.5693 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.4093, allocations: 8.5 kB / 0.5693 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.4093, allocations: 18.05 kB / 0.5693 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4095, allocations: 52.05 kB / 0.5694 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.4095, allocations: 57.98 kB / 0.5695 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4098, allocations: 140.1 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4098, allocations: 0.625 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4098, allocations: 0.6562 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4098, allocations: 1.188 kB / 0.5696 GB, free: 30.78 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.0006451/0.4105, allocations: 468.2 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4105, allocations: 9.719 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.4106, allocations: 19.19 kB / 0.5701 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.4108, allocations: 253.9 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.4109, allocations: 2.5 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4109, allocations: 8.469 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.4112, allocations: 109.6 kB / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4112, allocations: 0 / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4112, allocations: 2.094 kB / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4113, allocations: 1.156 kB / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.4115, allocations: 70.25 kB / 0.5705 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.4121, allocations: 382.6 kB / 0.5709 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.4122, allocations: 44.34 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4124, allocations: 30.75 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4124, allocations: 0 / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.4127, allocations: 96.69 kB / 0.571 GB, free: 29.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4127, allocations: 0 / 0.571 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004567/0.4132, allocations: 127.8 kB / 0.5711 GB, free: 29.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4132, allocations: 78.27 kB / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4135, allocations: 254.3 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4135, allocations: 25.7 kB / 0.5715 GB, free: 29.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.4136, allocations: 126.9 kB / 0.5716 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.4136, allocations: 9.859 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.4137, allocations: 16.41 kB / 0.5716 GB, free: 29.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.4138, allocations: 328 kB / 0.5719 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4139, allocations: 25.34 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.414, allocations: 52.28 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.4142, allocations: 72.89 kB / 0.5721 GB, free: 28.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.4142, allocations: 0 / 0.5721 GB, free: 28.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002849/0.4145, allocations: 109.3 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4146, allocations: 5.312 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4146, allocations: 0 / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.4146, allocations: 6.906 kB / 0.5722 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4147, allocations: 11.52 kB / 0.5722 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4148, allocations: 2.641 kB / 0.5722 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.4149, allocations: 18.91 kB / 0.5722 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4149, allocations: 3.5 kB / 0.5722 GB, free: 28.66 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 0.0001067/0.415, allocations: 132.2 kB / 0.5724 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.415, allocations: 17.52 kB / 0.5724 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.4151, allocations: 20.16 kB / 0.5724 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4151, allocations: 9.656 kB / 0.5724 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4151, allocations: 0 / 0.5724 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4151, allocations: 5.281 kB / 0.5724 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.4153, allocations: 212.3 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4153, allocations: 0.6094 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.4154, allocations: 11.33 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4154, allocations: 0.5156 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4154, allocations: 2.531 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4154, allocations: 4.5 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4154, allocations: 1.125 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.4157, allocations: 120.2 kB / 0.5727 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.4158, allocations: 96 kB / 0.5728 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4158, allocations: 0 / 0.5728 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4159, allocations: 13.84 kB / 0.5729 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.416, allocations: 7.562 kB / 0.5729 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.416, allocations: 11.59 kB / 0.5729 GB, free: 28.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.4162, allocations: 192.1 kB / 0.5731 GB, free: 28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4162, allocations: 0 / 0.5731 GB, free: 28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.4164, allocations: 21.69 kB / 0.5731 GB, free: 28 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.0002445/0.4167, allocations: 122 kB / 0.5732 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.417, allocations: 54.28 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.417, allocations: 6.031 kB / 0.5733 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4172, allocations: 33.61 kB / 0.5733 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.4175, allocations: 43.12 kB / 0.5733 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.4182, allocations: 323.1 kB / 0.5736 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.4186, allocations: 0.7202 MB / 0.5743 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.037e-05/0.4186, allocations: 22.34 kB / 0.5744 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.4187, allocations: 16.83 kB / 0.5744 GB, free: 26.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4187, allocations: 0 / 0.5744 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Templates: time 0.006211/0.4249, allocations: 1.653 MB / 0.576 GB, free: 26.79 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)