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.00111/0.00111, allocations: 82.66 kB / 21.48 MB, free: 3.031 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.001102/0.001102, allocations: 164.5 kB / 24.86 MB, free: 9.262 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.5982/0.5982, allocations: 110.2 MB / 372.1 MB, free: 12.39 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.595e-06/2.595e-06, allocations: 0 / 476.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.672e-05/3.931e-05, allocations: 2.969 kB / 476.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.004045/0.004084, allocations: 1.693 MB / 478.1 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.005208, allocations: 0.6005 MB / 478.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.005313, allocations: 10.41 kB / 478.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.005528, allocations: 25.28 kB / 478.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.005812, allocations: 66.45 kB / 478.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.00604, allocations: 79.52 kB / 478.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.00624, allocations: 137.4 kB / 479 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.006402, allocations: 32.22 kB / 479 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.00663, allocations: 85.08 kB / 479.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.006749, allocations: 46.61 kB / 479.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.00678, allocations: 8.312 kB / 479.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.006858, allocations: 27.06 kB / 479.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.006945, allocations: 52.47 kB / 479.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.006988, allocations: 36.28 kB / 479.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.007203, allocations: 110.9 kB / 479.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007207, allocations: 0 / 479.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007208, allocations: 0 / 479.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.007213, allocations: 0 / 479.4 MB, free: 13.3 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.000509/0.007722, allocations: 0.4958 MB / 479.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.007763, allocations: 8.469 kB / 479.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.007943, allocations: 26.5 kB / 479.9 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.008193, allocations: 192.9 kB / 480.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.008205, allocations: 384 / 480.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.008223, allocations: 11.94 kB / 480.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.008406, allocations: 129.3 kB / 480.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.008417, allocations: 0.8125 kB / 480.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.00843, allocations: 3.188 kB / 480.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.008438, allocations: 4.562 kB / 480.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.008476, allocations: 16.89 kB / 480.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.008887, allocations: 325.8 kB / 480.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.008938, allocations: 31.62 kB / 480.6 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.008958, allocations: 7.688 kB / 480.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.008972, allocations: 2.969 kB / 480.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.009097, allocations: 143.2 kB / 480.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.009099, allocations: 0.9688 kB / 480.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001694/0.009268, allocations: 53 kB / 480.8 MB, free: 12.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.009297, allocations: 80.55 kB / 480.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.009458, allocations: 258.7 kB / 481.1 MB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.009468, allocations: 25.7 kB / 481.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.009791, allocations: 188.6 kB / 481.4 MB, free: 27.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.009813, allocations: 3.953 kB / 481.4 MB, free: 27.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.009855, allocations: 25.52 kB / 481.4 MB, free: 27.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.01, allocations: 0.5017 MB / 481.9 MB, free: 26.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.01003, allocations: 7.406 kB / 481.9 MB, free: 26.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.01007, allocations: 61.55 kB / 482 MB, free: 26.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.01012, allocations: 40.39 kB / 482 MB, free: 26.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01012, allocations: 0.7188 kB / 482 MB, free: 26.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.01022, allocations: 57.77 kB / 482.1 MB, free: 26.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01024, allocations: 11.81 kB / 482.1 MB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.01025, allocations: 5.438 kB / 482.1 MB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01026, allocations: 2.656 kB / 482.1 MB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.01035, allocations: 9.031 kB / 482.1 MB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.01035, allocations: 2.625 kB / 482.1 MB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.01041, allocations: 9.109 kB / 482.1 MB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01041, allocations: 2 kB / 482.1 MB, free: 26.81 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 9.839e-05/0.01051, allocations: 162.8 kB / 482.3 MB, free: 26.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.01054, allocations: 21.33 kB / 482.3 MB, free: 26.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.01058, allocations: 14.77 kB / 482.3 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01058, allocations: 3.75 kB / 482.3 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01058, allocations: 0 / 482.3 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01059, allocations: 1.781 kB / 482.3 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.0107, allocations: 134.4 kB / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01071, allocations: 0 / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.01076, allocations: 5.5 kB / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01076, allocations: 0 / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01077, allocations: 5.062 kB / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01077, allocations: 6.875 kB / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01077, allocations: 0 / 482.4 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.01088, allocations: 96.47 kB / 482.5 MB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.0109, allocations: 15 kB / 482.5 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01092, allocations: 2.562 kB / 482.6 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.01096, allocations: 7.25 kB / 482.6 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.011, allocations: 6.094 kB / 482.6 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.01102, allocations: 9.469 kB / 482.6 MB, free: 26.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.01114, allocations: 177.9 kB / 482.7 MB, free: 26.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01114, allocations: 0 / 482.7 MB, free: 26.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.01139, allocations: 24.92 kB / 482.8 MB, free: 26.24 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.0002181/0.01161, allocations: 126.9 kB / 482.9 MB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01172, allocations: 23.08 kB / 482.9 MB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01172, allocations: 0 / 482.9 MB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.01175, allocations: 18.06 kB / 482.9 MB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01204, allocations: 47.11 kB / 483 MB, free: 26.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.01266, allocations: 274.5 kB / 483.3 MB, free: 25.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.428e-05/0.01269, allocations: 69.44 kB / 483.3 MB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.01275, allocations: 16.39 kB / 483.3 MB, free: 25.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.01285, allocations: 92.22 kB / 483.4 MB, free: 25.75 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01285, allocations: 0 / 483.4 MB, free: 25.75 MB / 426.7 MB Notification: Performance of Templates: time 0.005346/0.01819, allocations: 1.994 MB / 485.4 MB, free: 25.56 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.6079807630740106]