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.000933/0.000933, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001373/0.001373, allocations: 165 kB / 24.17 MB, free: 328 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.9568/0.9568, allocations: 177.1 MB / 204.6 MB, free: 5.449 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.6739/0.6739, allocations: 110.3 MB / 371.3 MB, free: 12.29 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.493e-06/1.493e-06, allocations: 0 / 422.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.388e-05, allocations: 2.312 kB / 422.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002043/0.002057, allocations: 1.708 MB / 424.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.002762, allocations: 0.5998 MB / 424.7 MB, free: 7.043 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.002829, allocations: 3.938 kB / 424.7 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.002987, allocations: 27.78 kB / 424.7 MB, free: 7.012 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.003176, allocations: 71.55 kB / 424.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.003323, allocations: 75.84 kB / 424.8 MB, free: 6.867 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003456, allocations: 143.5 kB / 425 MB, free: 6.727 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003559, allocations: 34.25 kB / 425 MB, free: 6.691 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.003692, allocations: 75.81 kB / 425.1 MB, free: 6.617 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.003773, allocations: 47.88 kB / 425.1 MB, free: 6.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.003793, allocations: 8 kB / 425.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.00385, allocations: 35.8 kB / 425.2 MB, free: 6.527 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.003914, allocations: 51.83 kB / 425.2 MB, free: 6.477 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.003948, allocations: 35.91 kB / 425.3 MB, free: 6.441 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.004082, allocations: 111.5 kB / 425.4 MB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004084, allocations: 0 / 425.4 MB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004084, allocations: 0 / 425.4 MB, free: 6.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00409, allocations: 3.984 kB / 425.4 MB, free: 6.328 MB / 394.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.0006855/0.004775, allocations: 367.9 kB / 425.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.004801, allocations: 8.031 kB / 425.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.004906, allocations: 24.91 kB / 425.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.005104, allocations: 181.4 kB / 425.9 MB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.005112, allocations: 4.375 kB / 425.9 MB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.005128, allocations: 16.25 kB / 426 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.005262, allocations: 133.1 kB / 426.1 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005269, allocations: 4.188 kB / 426.1 MB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.005278, allocations: 4.375 kB / 426.1 MB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005284, allocations: 3.938 kB / 426.1 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.005305, allocations: 8 kB / 426.1 MB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.005552, allocations: 233.7 kB / 426.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.00559, allocations: 14.58 kB / 426.4 MB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.005604, allocations: 8.922 kB / 426.4 MB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.005614, allocations: 0 / 426.4 MB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.931e-05/0.005703, allocations: 124.5 kB / 426.5 MB, free: 5.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.086e-06/0.005706, allocations: 3.984 kB / 426.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 9.478e-05/0.005801, allocations: 45.67 kB / 426.5 MB, free: 5.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.005831, allocations: 77.11 kB / 426.6 MB, free: 4.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.005938, allocations: 209 kB / 426.8 MB, free: 4.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.005951, allocations: 33.7 kB / 426.8 MB, free: 4.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.005992, allocations: 116.5 kB / 427 MB, free: 4.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.006007, allocations: 7.891 kB / 427 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.006031, allocations: 17.7 kB / 427 MB, free: 4.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.0061, allocations: 334.7 kB / 427.3 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.006111, allocations: 7.984 kB / 427.3 MB, free: 4.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.006136, allocations: 49.14 kB / 427.4 MB, free: 4.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.006165, allocations: 33.39 kB / 427.4 MB, free: 4.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006167, allocations: 4.031 kB / 427.4 MB, free: 4.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.093e-05/0.006218, allocations: 53.56 kB / 427.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.006227, allocations: 4 kB / 427.5 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.00623, allocations: 0 / 427.5 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.006242, allocations: 4 kB / 427.5 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.006292, allocations: 7.984 kB / 427.5 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.006295, allocations: 0 / 427.5 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.006325, allocations: 12 kB / 427.5 MB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.006331, allocations: 0 / 427.5 MB, free: 3.988 MB / 394.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 5.928e-05/0.00639, allocations: 124.7 kB / 427.6 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.006401, allocations: 8 kB / 427.6 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.006426, allocations: 21.02 kB / 427.6 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006428, allocations: 3.938 kB / 427.6 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.00643, allocations: 0 / 427.6 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006432, allocations: 0 / 427.6 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.069e-05/0.006503, allocations: 101.8 kB / 427.7 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006504, allocations: 0 / 427.7 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.006524, allocations: 7.984 kB / 427.7 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.006524, allocations: 0 / 427.7 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.006529, allocations: 4 kB / 427.7 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.006532, allocations: 7.938 kB / 427.8 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006532, allocations: 0 / 427.8 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.786e-05/0.0066, allocations: 73.05 kB / 427.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.006612, allocations: 11.91 kB / 427.8 MB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.006624, allocations: 8 kB / 427.8 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.006648, allocations: 7.984 kB / 427.9 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.006679, allocations: 0 / 427.9 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.006693, allocations: 7.984 kB / 427.9 MB, free: 3.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.006743, allocations: 66.25 kB / 427.9 MB, free: 3.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006743, allocations: 0 / 427.9 MB, free: 3.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.006859, allocations: 35.88 kB / 428 MB, free: 3.461 MB / 394.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.000146/0.007005, allocations: 88.69 kB / 428 MB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.39e-05/0.007078, allocations: 20.77 kB / 428.1 MB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.007081, allocations: 4 kB / 428.1 MB, free: 3.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.007098, allocations: 17.03 kB / 428.1 MB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.007235, allocations: 52.06 kB / 428.1 MB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.007669, allocations: 279.1 kB / 428.4 MB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.007702, allocations: 71.33 kB / 428.5 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.007735, allocations: 12.42 kB / 428.5 MB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.007807, allocations: 83.34 kB / 428.6 MB, free: 2.781 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007807, allocations: 0 / 428.6 MB, free: 2.781 MB / 394.7 MB Notification: Performance of Templates: time 0.003275/0.01108, allocations: 1.85 MB / 430.4 MB, free: 0.9297 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.2091864249669015]