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.00103/0.00103, allocations: 92.22 kB / 20.46 MB, free: 4.105 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.001021/0.001021, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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 1.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.6694/0.6694, allocations: 110.3 MB / 371 MB, free: 12.36 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 2.284e-06/2.284e-06, allocations: 0 / 475.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/3.934e-05, allocations: 5.109 kB / 475.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.004181/0.00422, allocations: 1.693 MB / 476.9 MB, free: 14.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.005512, allocations: 0.6027 MB / 477.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.005656, allocations: 9.188 kB / 477.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.005939, allocations: 18.81 kB / 477.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.006356, allocations: 69.7 kB / 477.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.006762, allocations: 75.62 kB / 477.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.007055, allocations: 139.7 kB / 477.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.007268, allocations: 36.12 kB / 477.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.007557, allocations: 92.09 kB / 477.9 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.00769, allocations: 47.78 kB / 477.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.007722, allocations: 8.438 kB / 477.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.00782, allocations: 26.73 kB / 478 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.00794, allocations: 46.86 kB / 478 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.008005, allocations: 32.8 kB / 478 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.008268, allocations: 122.3 kB / 478.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.008274, allocations: 0 / 478.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.008277, allocations: 0 / 478.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.008286, allocations: 0 / 478.2 MB, free: 13.39 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.001792/0.01008, allocations: 0.4887 MB / 478.7 MB, free: 12.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.01013, allocations: 9.75 kB / 478.7 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.01038, allocations: 27.92 kB / 478.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.01069, allocations: 194 kB / 478.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.01071, allocations: 7.844 kB / 478.9 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.01073, allocations: 5.656 kB / 478.9 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.01099, allocations: 138.9 kB / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.011, allocations: 192 / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.01102, allocations: 384 / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.01103, allocations: 7.094 kB / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.942e-05/0.01109, allocations: 18.94 kB / 479.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.01165, allocations: 366.8 kB / 479.4 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.01172, allocations: 29.45 kB / 479.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.01175, allocations: 12.72 kB / 479.5 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.01177, allocations: 0 / 479.5 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.01193, allocations: 133.9 kB / 479.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.01194, allocations: 0 / 479.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002141/0.01215, allocations: 57.22 kB / 479.6 MB, free: 12.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.01219, allocations: 78.23 kB / 479.7 MB, free: 11.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.01269, allocations: 261.9 kB / 480 MB, free: 27.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.0127, allocations: 29.7 kB / 480 MB, free: 27.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.0128, allocations: 191 kB / 480.2 MB, free: 27.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.01283, allocations: 3.953 kB / 480.2 MB, free: 27.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.01287, allocations: 21.48 kB / 480.2 MB, free: 27.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.01305, allocations: 0.5006 MB / 480.7 MB, free: 27.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.01307, allocations: 2.344 kB / 480.7 MB, free: 27.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.01313, allocations: 72.7 kB / 480.8 MB, free: 26.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.01319, allocations: 29.84 kB / 480.8 MB, free: 26.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01319, allocations: 2.656 kB / 480.8 MB, free: 26.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001226/0.01331, allocations: 63.08 kB / 480.9 MB, free: 26.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.01333, allocations: 6.312 kB / 480.9 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01334, allocations: 0 / 480.9 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.01336, allocations: 7.656 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01348, allocations: 10.58 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01349, allocations: 0 / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.01354, allocations: 8.859 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.01356, allocations: 7.938 kB / 480.9 MB, free: 26.88 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 0.0001157/0.01367, allocations: 162.4 kB / 481.1 MB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.01371, allocations: 20.61 kB / 481.1 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.01375, allocations: 17.45 kB / 481.1 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01375, allocations: 3.984 kB / 481.1 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01376, allocations: 0 / 481.1 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01376, allocations: 2.594 kB / 481.1 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.0139, allocations: 167.8 kB / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0139, allocations: 0 / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.01396, allocations: 6.094 kB / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01397, allocations: 0 / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01398, allocations: 7.547 kB / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01399, allocations: 0 / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01399, allocations: 0 / 481.3 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.01414, allocations: 96.31 kB / 481.4 MB, free: 26.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.01416, allocations: 17.56 kB / 481.4 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01418, allocations: 0.8438 kB / 481.4 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.01424, allocations: 8.875 kB / 481.4 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.01429, allocations: 11.86 kB / 481.4 MB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.01432, allocations: 5.438 kB / 481.4 MB, free: 26.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01445, allocations: 188.2 kB / 481.6 MB, free: 26.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01445, allocations: 0 / 481.6 MB, free: 26.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.01468, allocations: 24.58 kB / 481.6 MB, free: 26.27 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.0002855/0.01496, allocations: 125 kB / 481.8 MB, free: 26.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.01512, allocations: 28.16 kB / 481.8 MB, free: 26.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01512, allocations: 0 / 481.8 MB, free: 26.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.01515, allocations: 18.94 kB / 481.8 MB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.01548, allocations: 44.12 kB / 481.9 MB, free: 26.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.0163, allocations: 264.6 kB / 482.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.01635, allocations: 71.58 kB / 482.2 MB, free: 25.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.01642, allocations: 19.97 kB / 482.2 MB, free: 25.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.01647, allocations: 20 kB / 482.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01647, allocations: 0 / 482.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of Templates: time 0.005285/0.02175, allocations: 1.95 MB / 484.2 MB, free: 25.66 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.9981848797760904]