Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001001/0.001001, allocations: 89.12 kB / 19.64 MB, free: 272 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.001133/0.001133, allocations: 173 kB / 23.02 MB, free: 1.539 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 0.9731/0.9731, allocations: 177.1 MB / 203.4 MB, free: 5.172 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7529/0.7529, allocations: 154.6 MB / 414.5 MB, free: 0.5781 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 4.984 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.849e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002515/0.002534, allocations: 1.688 MB / 0.5219 GB, free: 500 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.00336, allocations: 0.6045 MB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.003448, allocations: 3.938 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.003634, allocations: 27.78 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.003872, allocations: 59.62 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.004095, allocations: 83.77 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.004265, allocations: 139.4 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004414, allocations: 38.45 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.004582, allocations: 75.81 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.004669, allocations: 48.44 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.004693, allocations: 8 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.004758, allocations: 28.86 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.004835, allocations: 55.77 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.004876, allocations: 33.5 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005058, allocations: 119.4 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.00506, allocations: 0 / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00506, allocations: 0 / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005065, allocations: 0.9688 kB / 0.5232 GB, free: 15.18 MB / 0.4948 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.0004841/0.005549, allocations: 491.6 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.00559, allocations: 14.03 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.005738, allocations: 28.83 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.005955, allocations: 193 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.005965, allocations: 384 / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.005979, allocations: 9.062 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.006154, allocations: 142.1 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.006163, allocations: 8.125 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006173, allocations: 1.062 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.006183, allocations: 7.938 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.006221, allocations: 21.42 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.006594, allocations: 355.5 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.006645, allocations: 27.06 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.00667, allocations: 12.45 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.006683, allocations: 0.8438 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.006808, allocations: 135.8 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.00681, allocations: 3.062 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.006977, allocations: 57.59 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.007015, allocations: 77.11 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.007171, allocations: 258.7 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.007184, allocations: 25.7 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.00726, allocations: 186.7 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.00728, allocations: 7.953 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.00731, allocations: 19.38 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.007421, allocations: 0.5044 MB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.007439, allocations: 4 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.007478, allocations: 73.62 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.007528, allocations: 28.56 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00753, allocations: 4 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.376e-05/0.007624, allocations: 62.47 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.007638, allocations: 5.719 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007644, allocations: 4.719 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.007656, allocations: 0 / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.007732, allocations: 12.95 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.007738, allocations: 4 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.007773, allocations: 9.156 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.007786, allocations: 7.922 kB / 0.5259 GB, free: 12.16 MB / 0.4948 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 7.381e-05/0.00786, allocations: 160.6 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.007877, allocations: 16.53 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.007903, allocations: 17.67 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.007905, allocations: 4 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.007909, allocations: 3.281 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.007911, allocations: 3.938 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.00802, allocations: 168.5 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.008021, allocations: 0 / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.008048, allocations: 7.984 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00805, allocations: 0 / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.008057, allocations: 4 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008058, allocations: 0 / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00806, allocations: 0 / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.804e-05/0.008148, allocations: 99.34 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.008159, allocations: 11.91 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008172, allocations: 0 / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.008202, allocations: 15.98 kB / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.008239, allocations: 7.984 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.008254, allocations: 4 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.008344, allocations: 189.5 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008344, allocations: 0 / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001394/0.008483, allocations: 17.81 kB / 0.5266 GB, free: 11.39 MB / 0.4948 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.0001772/0.008661, allocations: 128.7 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.008773, allocations: 30.3 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008775, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.008796, allocations: 11.69 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.009002, allocations: 48.12 kB / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.009555, allocations: 277.2 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.009591, allocations: 67.33 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.398e-05/0.009635, allocations: 20.47 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.009669, allocations: 16.48 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of SimCode: time 6.12e-07/0.009669, allocations: 2.438 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.003858/0.01353, allocations: 1.886 MB / 0.529 GB, free: 9 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6704445900395513]