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.00148/0.00148, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001692/0.001692, allocations: 173 kB / 23.49 MB, free: 1.059 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.144/1.144, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.8069/0.8069, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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 1.343e-06/1.343e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.151e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002224/0.002246, allocations: 1.686 MB / 0.5219 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.003065, allocations: 0.5981 MB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.003159, allocations: 8.469 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.003349, allocations: 27.25 kB / 0.5226 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.003573, allocations: 67.61 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.003771, allocations: 75.83 kB / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.003951, allocations: 131.5 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.004102, allocations: 45.56 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.00436, allocations: 75.81 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.004447, allocations: 47.88 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.00447, allocations: 8.625 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.004538, allocations: 28.5 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.004619, allocations: 48.36 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.004661, allocations: 35.84 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.004851, allocations: 112.5 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004853, allocations: 3.938 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004854, allocations: 1.531 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.004859, allocations: 0 / 0.5232 GB, free: 15.58 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.0004947/0.005354, allocations: 495.6 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.005391, allocations: 12.03 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.005533, allocations: 33.61 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.005762, allocations: 190.7 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005776, allocations: 8.375 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.005789, allocations: 4.375 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.005974, allocations: 136.8 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005982, allocations: 0.75 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005993, allocations: 0.875 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.006005, allocations: 8.641 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.006044, allocations: 20 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.006442, allocations: 356 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.006488, allocations: 28.44 kB / 0.5245 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006512, allocations: 11.75 kB / 0.5245 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.006528, allocations: 3.938 kB / 0.5245 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.006665, allocations: 136.6 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.006666, allocations: 0 / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001607/0.006827, allocations: 59.41 kB / 0.5247 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.006865, allocations: 77.11 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.007034, allocations: 274.6 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007047, allocations: 25.7 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.007125, allocations: 182.8 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.007146, allocations: 14.62 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.007178, allocations: 23.38 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.007304, allocations: 0.4961 MB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.007325, allocations: 11.98 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.007365, allocations: 60.64 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.007411, allocations: 40.84 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007414, allocations: 0 / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.15e-05/0.007495, allocations: 57.53 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.00751, allocations: 8.938 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007516, allocations: 96 / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.007531, allocations: 3.984 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.007604, allocations: 12.7 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.00761, allocations: 0 / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.007646, allocations: 8.938 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007654, allocations: 7.938 kB / 0.5259 GB, free: 12.55 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.484e-05/0.007729, allocations: 153.2 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.007747, allocations: 20.39 kB / 0.5261 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.007778, allocations: 20.09 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00778, allocations: 4 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007784, allocations: 0 / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007787, allocations: 0 / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.007894, allocations: 168.5 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007895, allocations: 0 / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.00792, allocations: 7.938 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.007924, allocations: 7.984 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.007931, allocations: 3.125 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007932, allocations: 3.938 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007933, allocations: 0 / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.813e-05/0.008021, allocations: 92.28 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.008032, allocations: 11.91 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.008047, allocations: 4 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.008074, allocations: 11.98 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.008115, allocations: 0 / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.008135, allocations: 7.984 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.598e-05/0.008231, allocations: 191.3 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008231, allocations: 0 / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001468/0.008377, allocations: 27.94 kB / 0.5266 GB, free: 11.78 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.0001845/0.008562, allocations: 124.9 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.008666, allocations: 28.48 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008668, allocations: 0 / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.00869, allocations: 12.22 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.008902, allocations: 54.86 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.009492, allocations: 276.4 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.009541, allocations: 71.33 kB / 0.5272 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.009591, allocations: 21.52 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.009628, allocations: 20.5 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.009629, allocations: 0 / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.004154/0.01378, allocations: 1.78 MB / 0.5289 GB, free: 9.484 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.979329506866634]