Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001704/0.001704, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001906/0.001906, allocations: 169.2 kB / 23.23 MB, free: 1.324 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.632/1.632, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.157/3.157, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.962e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003299/0.003329, allocations: 1.643 MB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004539, allocations: 0.5804 MB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.004617, allocations: 7.938 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.004798, allocations: 31.77 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.005055, allocations: 59.69 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.005289, allocations: 79.77 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.005524, allocations: 139.5 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.005675, allocations: 37.64 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.005886, allocations: 75.75 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.006004, allocations: 51.81 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.006037, allocations: 8 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.006122, allocations: 27.98 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.006232, allocations: 47.83 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.006295, allocations: 31.86 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.006563, allocations: 147.5 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.006567, allocations: 3.938 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006568, allocations: 4 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.006574, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB 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.000695/0.007269, allocations: 401.3 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.007325, allocations: 13.33 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.007494, allocations: 24.84 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.007795, allocations: 185.3 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.007812, allocations: 8.359 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.007828, allocations: 8.375 kB / 1.005 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.008163, allocations: 161.6 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.008174, allocations: 192 / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.008189, allocations: 4.375 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.008196, allocations: 3.938 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.008445, allocations: 59.94 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.00903, allocations: 316.2 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.00918, allocations: 38.56 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.009306, allocations: 28.89 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.009324, allocations: 0 / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.009604, allocations: 152.4 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.009605, allocations: 4 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004559/0.01006, allocations: 117.5 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.01013, allocations: 81.11 kB / 1.006 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.01043, allocations: 236.1 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.01045, allocations: 29.64 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01056, allocations: 139.9 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.01059, allocations: 11.88 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.01063, allocations: 21.72 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.01081, allocations: 326.8 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01093, allocations: 27.97 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.01108, allocations: 73.11 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.01133, allocations: 74.5 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01133, allocations: 0 / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002963/0.01162, allocations: 101.5 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.01165, allocations: 8 kB / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01165, allocations: 0 / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01167, allocations: 0 / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01178, allocations: 16.08 kB / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.01179, allocations: 7.969 kB / 1.007 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.01187, allocations: 8 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01189, allocations: 7.922 kB / 1.007 GB, free: 7.191 MB / 0.9636 GB 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.0001239/0.01201, allocations: 128.5 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.01205, allocations: 23.84 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.01209, allocations: 13.03 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01209, allocations: 4 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.0121, allocations: 0 / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.0121, allocations: 288 / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.01227, allocations: 157.2 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.01227, allocations: 0 / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.01235, allocations: 11.98 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01236, allocations: 3.984 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.01236, allocations: 0 / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01237, allocations: 0 / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01237, allocations: 3.938 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.01268, allocations: 120.9 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01271, allocations: 23.89 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01273, allocations: 4 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.01281, allocations: 7.984 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01287, allocations: 4 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.01289, allocations: 7.984 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001993/0.01309, allocations: 177.8 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01309, allocations: 0 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002318/0.01332, allocations: 27.89 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB 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.0003213/0.01365, allocations: 131.1 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.01395, allocations: 55.83 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01395, allocations: 3.938 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.01407, allocations: 32.16 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.01437, allocations: 41.38 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.01497, allocations: 278.6 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.0151, allocations: 110.2 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.427e-05/0.01516, allocations: 16.48 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.0152, allocations: 20.48 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.0152, allocations: 0 / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of Templates: time 0.005999/0.0212, allocations: 1.748 MB / 1.01 GB, free: 4.004 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.666428986005485]