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.0008961/0.0008961, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002336/0.003232, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001031/0.001031, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.002208, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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 1.045/1.045, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.181, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.594/0.594, allocations: 110.3 MB / 354.4 MB, free: 12.3 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06972/0.6637, allocations: 34.96 MB / 389.4 MB, free: 9.242 MB / 378.7 MB " [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.402e-06/1.402e-06, allocations: 0 / 390.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.106e-05, allocations: 6.312 kB / 390.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.006703/0.006724, allocations: 1.731 MB / 392.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.007602, allocations: 0.6114 MB / 393.1 MB, free: 5.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.007678, allocations: 11.94 kB / 393.1 MB, free: 5.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.007795, allocations: 23.73 kB / 393.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.007975, allocations: 79.58 kB / 393.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.008152, allocations: 71.78 kB / 393.3 MB, free: 5.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.008328, allocations: 131.5 kB / 393.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.008446, allocations: 34.3 kB / 393.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.008645, allocations: 108.4 kB / 393.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.008743, allocations: 55.81 kB / 393.6 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.008766, allocations: 8 kB / 393.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.008847, allocations: 27.98 kB / 393.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.008919, allocations: 43.86 kB / 393.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.008958, allocations: 27.88 kB / 393.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.009134, allocations: 107.5 kB / 393.8 MB, free: 4.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.009145, allocations: 0 / 393.8 MB, free: 4.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.009146, allocations: 0 / 393.8 MB, free: 4.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.00916, allocations: 0 / 393.8 MB, free: 4.852 MB / 378.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.0004924/0.009652, allocations: 391.6 kB / 394.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.009684, allocations: 15.97 kB / 394.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.009846, allocations: 102 kB / 394.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.0131, allocations: 189.4 kB / 394.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.01311, allocations: 4.375 kB / 394.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.01313, allocations: 8.375 kB / 394.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.0133, allocations: 140.9 kB / 394.6 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.01331, allocations: 0 / 394.6 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.01332, allocations: 4 kB / 394.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.01333, allocations: 12 kB / 394.6 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.01336, allocations: 15.92 kB / 394.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.01368, allocations: 213.8 kB / 394.9 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.067e-05/0.01372, allocations: 26.5 kB / 394.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.01373, allocations: 12.91 kB / 394.9 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.01375, allocations: 0 / 394.9 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.01386, allocations: 116.5 kB / 395 MB, free: 3.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.01386, allocations: 0 / 395 MB, free: 3.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001172/0.01397, allocations: 49.62 kB / 395.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.014, allocations: 55.41 kB / 395.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.01415, allocations: 205.1 kB / 395.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01416, allocations: 25.7 kB / 395.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.01421, allocations: 124.4 kB / 395.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.01423, allocations: 3.953 kB / 395.5 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.01427, allocations: 21.69 kB / 395.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.01435, allocations: 330.7 kB / 395.8 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.01436, allocations: 4 kB / 395.8 MB, free: 2.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.0144, allocations: 69.98 kB / 395.9 MB, free: 2.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.01444, allocations: 36.5 kB / 395.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01444, allocations: 3.938 kB / 395.9 MB, free: 2.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.285e-05/0.01452, allocations: 45.62 kB / 396 MB, free: 2.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01453, allocations: 7.984 kB / 396 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01453, allocations: 4 kB / 396 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.01455, allocations: 0 / 396 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.01461, allocations: 4 kB / 396 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.01461, allocations: 4 kB / 396 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.01465, allocations: 15.86 kB / 396 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01467, allocations: 4.062 kB / 396 MB, free: 2.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.425e-05/0.01473, allocations: 112.7 kB / 396.1 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.01475, allocations: 15.98 kB / 396.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.01478, allocations: 17.02 kB / 396.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01478, allocations: 0 / 396.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01478, allocations: 0 / 396.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.01479, allocations: 0 / 396.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.01488, allocations: 101.8 kB / 396.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01488, allocations: 0 / 396.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.01492, allocations: 11.98 kB / 396.3 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.01493, allocations: 16.19 kB / 396.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.01493, allocations: 0 / 396.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.01494, allocations: 0 / 396.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.01494, allocations: 0 / 396.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01494, allocations: 0 / 396.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/0.01503, allocations: 84.97 kB / 396.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.01504, allocations: 0 / 396.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.01508, allocations: 8 kB / 396.4 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.0151, allocations: 7.984 kB / 396.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01512, allocations: 4 kB / 396.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.01519, allocations: 73.98 kB / 396.4 MB, free: 1.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01519, allocations: 4 kB / 396.4 MB, free: 1.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.01536, allocations: 23.95 kB / 396.5 MB, free: 1.867 MB / 378.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.0001831/0.01554, allocations: 92.09 kB / 396.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.316e-05/0.01562, allocations: 28.72 kB / 396.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01563, allocations: 192 / 396.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.01566, allocations: 20.84 kB / 396.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.01891, allocations: 205 kB / 396.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.01979, allocations: 283.2 kB / 397.1 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.725e-05/0.01983, allocations: 71.33 kB / 397.2 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.01989, allocations: 16.66 kB / 397.2 MB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.01998, allocations: 75.36 kB / 397.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01998, allocations: 0 / 397.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of Templates: time 0.007156/0.02713, allocations: 1.931 MB / 399.2 MB, free: 15.07 MB / 394.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.2831891672685742]