Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00192/0.00192, allocations: 89.47 kB / 19.44 MB, free: 344 kB / 13.93 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.001962/0.001962, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003222/0.003222, allocations: 233.6 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.241/1.241, allocations: 138.4 MB / 454.7 MB, free: 1.469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.833e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.003565/0.003594, allocations: 1.661 MB / 0.5559 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004815, allocations: 0.5921 MB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.004891, allocations: 7.938 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.005096, allocations: 35.66 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.005362, allocations: 59.67 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.005596, allocations: 79.78 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.005831, allocations: 135.5 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.005994, allocations: 37.55 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.006219, allocations: 79.8 kB / 0.5569 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.006343, allocations: 51.81 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.006381, allocations: 8 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.006471, allocations: 31.92 kB / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.00658, allocations: 47.83 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.006646, allocations: 35.84 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.006929, allocations: 147.4 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006932, allocations: 0 / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006933, allocations: 4 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.006937, allocations: 0 / 0.5572 GB, free: 13.83 MB / 490.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.0007387/0.007676, allocations: 499.3 kB / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.007711, allocations: 12.69 kB / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.00791, allocations: 36.73 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.008242, allocations: 188.2 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.008259, allocations: 8.375 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.008276, allocations: 12.38 kB / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.008562, allocations: 125.6 kB / 0.5581 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.008572, allocations: 192 / 0.5581 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.008588, allocations: 4.375 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.008595, allocations: 3.938 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.008772, allocations: 43.91 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.009423, allocations: 379.5 kB / 0.5585 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.009554, allocations: 35.05 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.787e-05/0.009642, allocations: 31.73 kB / 0.5586 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.009662, allocations: 0 / 0.5586 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.009931, allocations: 143.8 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.009932, allocations: 0 / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003756/0.01031, allocations: 93.5 kB / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.01038, allocations: 81.11 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.01072, allocations: 296.9 kB / 0.5591 GB, free: 11.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.01075, allocations: 25.7 kB / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.0109, allocations: 190.7 kB / 0.5594 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.01093, allocations: 11.94 kB / 0.5594 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.01098, allocations: 19.38 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002891/0.01127, allocations: 0.504 MB / 0.5599 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.01135, allocations: 19.98 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.01147, allocations: 76.44 kB / 0.56 GB, free: 10.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01165, allocations: 63 kB / 0.56 GB, free: 10.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01165, allocations: 0 / 0.56 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002249/0.01188, allocations: 89.45 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01189, allocations: 4 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.0119, allocations: 4 kB / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01191, allocations: 0 / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.012, allocations: 4 kB / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.01201, allocations: 11.92 kB / 0.5601 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.01209, allocations: 16.03 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.0121, allocations: 4.219 kB / 0.5602 GB, free: 10.57 MB / 490.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.0001384/0.01224, allocations: 164.6 kB / 0.5603 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.01227, allocations: 19.89 kB / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.01232, allocations: 21.02 kB / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01232, allocations: 0 / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01233, allocations: 0 / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01233, allocations: 0 / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01255, allocations: 180.5 kB / 0.5605 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01255, allocations: 0 / 0.5605 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.01261, allocations: 12 kB / 0.5605 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01261, allocations: 0 / 0.5605 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.01262, allocations: 0 / 0.5605 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01262, allocations: 0 / 0.5605 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01262, allocations: 0 / 0.5605 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.01289, allocations: 124.2 kB / 0.5607 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.01292, allocations: 11.91 kB / 0.5607 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.01294, allocations: 4 kB / 0.5607 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.01301, allocations: 11.98 kB / 0.5607 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.01305, allocations: 8 kB / 0.5607 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.01308, allocations: 7.984 kB / 0.5607 GB, free: 9.941 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.01328, allocations: 201.8 kB / 0.5609 GB, free: 9.746 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01328, allocations: 0 / 0.5609 GB, free: 9.746 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.01351, allocations: 27.89 kB / 0.5609 GB, free: 9.719 MB / 490.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.0002709/0.01378, allocations: 125.4 kB / 0.561 GB, free: 9.598 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.01402, allocations: 51.53 kB / 0.5611 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01402, allocations: 3.938 kB / 0.5611 GB, free: 9.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.01411, allocations: 27.67 kB / 0.5611 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.01444, allocations: 44.69 kB / 0.5612 GB, free: 9.461 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.01504, allocations: 275.2 kB / 0.5614 GB, free: 9.156 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.01516, allocations: 106.6 kB / 0.5615 GB, free: 9.035 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.01523, allocations: 24.41 kB / 0.5615 GB, free: 9.012 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.01528, allocations: 20.48 kB / 0.5616 GB, free: 8.992 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01528, allocations: 0 / 0.5616 GB, free: 8.992 MB / 490.7 MB Notification: Performance of Templates: time 0.006092/0.02137, allocations: 1.796 MB / 0.5633 GB, free: 7.23 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.049990834086202]