Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 110.7 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 189.6 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.668/0.668, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 65.28 kB / 0.5583 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1094, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002547/0.112, allocations: 1.628 MB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.1128, allocations: 0.5417 MB / 0.6348 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.1129, allocations: 4 kB / 0.6348 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.1131, allocations: 23.78 kB / 0.6349 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1133, allocations: 75.61 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.1134, allocations: 55.86 kB / 0.635 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1136, allocations: 131.6 kB / 0.6351 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1138, allocations: 57.34 kB / 0.6352 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1139, allocations: 55.78 kB / 0.6352 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.862e-05/0.114, allocations: 59.69 kB / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.114, allocations: 8 kB / 0.6353 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.1141, allocations: 28 kB / 0.6353 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1142, allocations: 51.77 kB / 0.6354 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1142, allocations: 55.61 kB / 0.6354 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1144, allocations: 147.4 kB / 0.6356 GB, free: 1.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1144, allocations: 0 / 0.6356 GB, free: 1.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1144, allocations: 0 / 0.6356 GB, free: 1.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.1145, allocations: 0 / 0.6356 GB, free: 1.5 MB / 478.1 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.000559/0.115, allocations: 474.5 kB / 0.636 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1151, allocations: 12.03 kB / 0.636 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1151, allocations: 20.73 kB / 0.636 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1154, allocations: 236.8 kB / 0.6363 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1154, allocations: 8.375 kB / 0.6363 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1154, allocations: 8.375 kB / 0.6363 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.1157, allocations: 113.9 kB / 0.6364 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1157, allocations: 4 kB / 0.6364 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1157, allocations: 4 kB / 0.6364 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1157, allocations: 0 / 0.6364 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.1159, allocations: 59.94 kB / 0.6365 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.1164, allocations: 380.4 kB / 0.6368 GB, free: 64 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1166, allocations: 50.48 kB / 0.6369 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1167, allocations: 24.98 kB / 0.6369 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1167, allocations: 0 / 0.6369 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.117, allocations: 101 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.117, allocations: 4 kB / 0.637 GB, free: 15.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004077/0.1174, allocations: 121.4 kB / 0.6371 GB, free: 15.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1174, allocations: 77.11 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1177, allocations: 253 kB / 0.6374 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1177, allocations: 25.7 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.1178, allocations: 140 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1178, allocations: 7.812 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1178, allocations: 17.7 kB / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1179, allocations: 326.8 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.118, allocations: 23.97 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.1182, allocations: 55.34 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.1184, allocations: 66.53 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1184, allocations: 0 / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000275/0.1187, allocations: 105.4 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1187, allocations: 4 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1187, allocations: 0 / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1187, allocations: 4 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1188, allocations: 19.86 kB / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1188, allocations: 0 / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.1189, allocations: 15.98 kB / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.119, allocations: 4 kB / 0.6382 GB, free: 14.53 MB / 494.1 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.382e-05/0.1191, allocations: 133.8 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1191, allocations: 19.75 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1191, allocations: 17.23 kB / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1191, allocations: 4.219 kB / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1191, allocations: 0 / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1192, allocations: 88.92 kB / 0.6385 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1192, allocations: 11.98 kB / 0.6385 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.1193, allocations: 15.98 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1194, allocations: 7.984 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003094/0.1197, allocations: 164.8 kB / 0.6386 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003103/0.12, allocations: 274.5 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/0.1201, allocations: 27.97 kB / 0.6389 GB, free: 13.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1203, allocations: 192.5 kB / 0.6391 GB, free: 13.53 MB / 494.1 MB Notification: Performance of Backend: time 2.81e-07/0.1203, allocations: 0 / 0.6391 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.1208, allocations: 147.9 kB / 0.6393 GB, free: 13.39 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006185/0.1215, allocations: 0.7449 MB / 0.64 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Templates: time 0.004253/0.1257, allocations: 1.908 MB / 0.6418 GB, free: 10.71 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)