Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.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.001018/0.001018, allocations: 80.39 kB / 20.97 MB, free: 3.578 MB / 18.57 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.002038/0.002038, allocations: 165.4 kB / 24.28 MB, free: 280 kB / 18.57 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 0.9895/0.9895, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6199/0.6199, allocations: 110.3 MB / 371.3 MB, free: 12.49 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 1.094 kB / 475.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.473e-05, allocations: 2.312 kB / 475.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002123/0.002148, allocations: 1.696 MB / 476.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.002891, allocations: 0.5995 MB / 477.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.002979, allocations: 8.062 kB / 477.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.00315, allocations: 21.34 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.00335, allocations: 70.36 kB / 477.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.003534, allocations: 72.45 kB / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.003682, allocations: 139.7 kB / 477.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.003808, allocations: 35.58 kB / 477.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.00397, allocations: 84.06 kB / 477.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.004045, allocations: 51.36 kB / 477.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.004067, allocations: 7.719 kB / 477.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.004124, allocations: 20.44 kB / 478 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.004196, allocations: 51.27 kB / 478 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.004233, allocations: 32.73 kB / 478 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004392, allocations: 120.6 kB / 478.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.004395, allocations: 0 / 478.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004396, allocations: 3.938 kB / 478.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.004401, allocations: 0 / 478.2 MB, free: 13.48 MB / 410.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.0004103/0.004811, allocations: 0.4901 MB / 478.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.004844, allocations: 8 kB / 478.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.004981, allocations: 34.52 kB / 478.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.005168, allocations: 187.9 kB / 478.9 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005179, allocations: 6.781 kB / 478.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.005191, allocations: 6.094 kB / 478.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.005361, allocations: 135.9 kB / 479 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005369, allocations: 192 / 479 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.005382, allocations: 2.688 kB / 479 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.00539, allocations: 9.438 kB / 479 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.005427, allocations: 17.47 kB / 479.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.005764, allocations: 354.2 kB / 479.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.005807, allocations: 30.23 kB / 479.4 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.005829, allocations: 14.22 kB / 479.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.005842, allocations: 0 / 479.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.005949, allocations: 137 kB / 479.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.005949, allocations: 0 / 479.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001482/0.006098, allocations: 56.44 kB / 479.6 MB, free: 12.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.006121, allocations: 77.7 kB / 479.7 MB, free: 12.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.006245, allocations: 266.6 kB / 480 MB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.006253, allocations: 26.36 kB / 480 MB, free: 11.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.006505, allocations: 187.5 kB / 480.2 MB, free: 27.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.006522, allocations: 8.516 kB / 480.2 MB, free: 27.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.006553, allocations: 25.53 kB / 480.2 MB, free: 27.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.006652, allocations: 0.5008 MB / 480.7 MB, free: 27.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.006674, allocations: 2.562 kB / 480.7 MB, free: 27.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.006702, allocations: 66.64 kB / 480.8 MB, free: 27.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.006737, allocations: 36.84 kB / 480.8 MB, free: 27.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006739, allocations: 0 / 480.8 MB, free: 27.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.909e-05/0.006808, allocations: 64.48 kB / 480.9 MB, free: 26.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.006823, allocations: 7.031 kB / 480.9 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006828, allocations: 0.6562 kB / 480.9 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006841, allocations: 3.375 kB / 480.9 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.006911, allocations: 12.19 kB / 480.9 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.006916, allocations: 2.125 kB / 480.9 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.006949, allocations: 12.33 kB / 480.9 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.006956, allocations: 6.844 kB / 480.9 MB, free: 26.96 MB / 426.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 () * 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 6.553e-05/0.007021, allocations: 155.2 kB / 481.1 MB, free: 26.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.007039, allocations: 19.73 kB / 481.1 MB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.007067, allocations: 24.19 kB / 481.1 MB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007069, allocations: 0 / 481.1 MB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007073, allocations: 4 kB / 481.1 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007075, allocations: 2.625 kB / 481.1 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.238e-05/0.007158, allocations: 163.8 kB / 481.3 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007159, allocations: 3.938 kB / 481.3 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.007186, allocations: 6.062 kB / 481.3 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.007188, allocations: 0 / 481.3 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.007194, allocations: 3.469 kB / 481.3 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007196, allocations: 3.156 kB / 481.3 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007197, allocations: 0.5312 kB / 481.3 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.461e-05/0.007271, allocations: 96.25 kB / 481.4 MB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.00728, allocations: 11.88 kB / 481.4 MB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.007295, allocations: 8.531 kB / 481.4 MB, free: 26.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.487e-05/0.00732, allocations: 6.406 kB / 481.4 MB, free: 26.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.007356, allocations: 4.484 kB / 481.4 MB, free: 26.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.007372, allocations: 5.5 kB / 481.4 MB, free: 26.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.007458, allocations: 191.1 kB / 481.6 MB, free: 26.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007458, allocations: 0.5625 kB / 481.6 MB, free: 26.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.0076, allocations: 22.89 kB / 481.6 MB, free: 26.37 MB / 426.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 () * 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.0001907/0.007791, allocations: 127.1 kB / 481.8 MB, free: 26.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.197e-05/0.007883, allocations: 32.81 kB / 481.8 MB, free: 26.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007884, allocations: 0 / 481.8 MB, free: 26.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.007904, allocations: 16.39 kB / 481.8 MB, free: 26.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.008107, allocations: 44.02 kB / 481.9 MB, free: 26.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.008635, allocations: 264.8 kB / 482.1 MB, free: 26.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.008664, allocations: 77.03 kB / 482.2 MB, free: 25.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.52e-05/0.008709, allocations: 18.75 kB / 482.2 MB, free: 25.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.008737, allocations: 17 kB / 482.2 MB, free: 25.93 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.008738, allocations: 0 / 482.2 MB, free: 25.93 MB / 426.7 MB Notification: Performance of Templates: time 0.003738/0.01248, allocations: 1.841 MB / 484.1 MB, free: 25.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6533398618921638]