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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009509/0.000951, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4802/0.4802, allocations: 90.91 MB / 99.35 MB, free: 2.125 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 91.22 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.343e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6158, allocations: 102.7 MB / 0.6539 GB, free: 7.512 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.6161, allocations: 77.89 kB / 0.6539 GB, free: 7.469 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008504/0.6246, allocations: 3.301 MB / 0.6572 GB, free: 4.648 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6246, allocations: 0 / 0.6572 GB, free: 4.648 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.6246, allocations: 6.734 kB / 0.6572 GB, free: 4.645 MB / 458.7 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.000459/0.6251, allocations: 436.4 kB / 0.6576 GB, free: 4.184 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6251, allocations: 11.97 kB / 0.6576 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.6252, allocations: 19.77 kB / 0.6576 GB, free: 4.152 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.6255, allocations: 230 kB / 0.6578 GB, free: 3.895 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6255, allocations: 3.938 kB / 0.6578 GB, free: 3.891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6255, allocations: 4 kB / 0.6578 GB, free: 3.887 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.795e-05/0.6256, allocations: 34.17 kB / 0.6579 GB, free: 3.863 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.6258, allocations: 77.8 kB / 0.6579 GB, free: 3.793 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.6258, allocations: 0 / 0.6579 GB, free: 3.793 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.6258, allocations: 4 kB / 0.6579 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6258, allocations: 7.953 kB / 0.658 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.6263, allocations: 355.4 kB / 0.6583 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.6264, allocations: 26.39 kB / 0.6583 GB, free: 3.398 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.6264, allocations: 8.922 kB / 0.6583 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.6264, allocations: 4 kB / 0.6583 GB, free: 3.383 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.6266, allocations: 79.23 kB / 0.6584 GB, free: 3.297 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6266, allocations: 0 / 0.6584 GB, free: 3.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001434/0.6267, allocations: 60.62 kB / 0.6585 GB, free: 3.234 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6268, allocations: 84.55 kB / 0.6585 GB, free: 3.137 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.627, allocations: 199.5 kB / 0.6587 GB, free: 2.965 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.627, allocations: 25.7 kB / 0.6588 GB, free: 2.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.6271, allocations: 127.7 kB / 0.6589 GB, free: 2.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.6271, allocations: 7.906 kB / 0.6589 GB, free: 2.824 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.6271, allocations: 0 / 0.6589 GB, free: 2.824 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6272, allocations: 329.6 kB / 0.6592 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.6272, allocations: 7.125 kB / 0.6592 GB, free: 2.496 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.6273, allocations: 30.56 kB / 0.6592 GB, free: 2.457 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.6273, allocations: 20.55 kB / 0.6593 GB, free: 2.441 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6273, allocations: 0 / 0.6593 GB, free: 2.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.283e-05/0.6274, allocations: 60.78 kB / 0.6593 GB, free: 2.379 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6274, allocations: 8.109 kB / 0.6593 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6275, allocations: 11.98 kB / 0.6593 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6275, allocations: 0 / 0.6593 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6276, allocations: 23.42 kB / 0.6594 GB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.6276, allocations: 0 / 0.6594 GB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.6277, allocations: 15.98 kB / 0.6594 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.6277, allocations: 0 / 0.6594 GB, free: 2.324 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.6278, allocations: 112.9 kB / 0.6595 GB, free: 2.207 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.6278, allocations: 15.77 kB / 0.6595 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.6279, allocations: 24.98 kB / 0.6595 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.6279, allocations: 0 / 0.6595 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6279, allocations: 4 kB / 0.6595 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6279, allocations: 0 / 0.6595 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.628, allocations: 196.8 kB / 0.6597 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.628, allocations: 0 / 0.6597 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.6281, allocations: 19.98 kB / 0.6597 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6281, allocations: 0 / 0.6597 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.6281, allocations: 3.953 kB / 0.6597 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6281, allocations: 0 / 0.6597 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6282, allocations: 0 / 0.6597 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.6283, allocations: 91.69 kB / 0.6598 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.6283, allocations: 99.66 kB / 0.6599 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.6284, allocations: 0 / 0.6599 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.6284, allocations: 27.19 kB / 0.6599 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.6285, allocations: 3.984 kB / 0.6599 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.6285, allocations: 4 kB / 0.66 GB, free: 1.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.6286, allocations: 159.6 kB / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6286, allocations: 0 / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.6289, allocations: 23.91 kB / 0.6601 GB, free: 1.527 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002293/0.6291, allocations: 118.2 kB / 0.6602 GB, free: 1.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.6292, allocations: 26.05 kB / 0.6603 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6292, allocations: 0 / 0.6603 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.6292, allocations: 11.31 kB / 0.6603 GB, free: 1.383 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.6295, allocations: 37.42 kB / 0.6603 GB, free: 1.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.6298, allocations: 189.9 kB / 0.6605 GB, free: 1.168 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.6301, allocations: 0.7236 MB / 0.6612 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.6302, allocations: 12.66 kB / 0.6612 GB, free: 412 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.6302, allocations: 22.75 kB / 0.6612 GB, free: 396 kB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6302, allocations: 0 / 0.6612 GB, free: 396 kB / 458.7 MB Notification: Performance of Templates: time 0.003828/0.634, allocations: 1.458 MB / 0.6627 GB, free: 14.95 MB / 474.7 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)