Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005463/0.005463, allocations: 180.3 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.507/1.507, allocations: 194.2 MB / 202.1 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00232/0.00232, allocations: 120.9 kB / 247.1 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1956/0.1956, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.823e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 54.88 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4171, allocations: 78.87 MB / 0.5142 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4175, allocations: 60.67 kB / 0.5142 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0101/0.4276, allocations: 3.393 MB / 0.5175 GB, free: 9.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4276, allocations: 0 / 0.5175 GB, free: 9.926 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003038/0.4279, allocations: 375 kB / 0.5179 GB, free: 9.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.428, allocations: 9.281 kB / 0.5179 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.428, allocations: 4.516 kB / 0.5179 GB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.4281, allocations: 167.7 kB / 0.5181 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4281, allocations: 5.328 kB / 0.5181 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.4281, allocations: 0.6094 kB / 0.5181 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.302e-05/0.4282, allocations: 1.344 kB / 0.5181 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.737e-05/0.4282, allocations: 29.52 kB / 0.5181 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4282, allocations: 0 / 0.5181 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4283, allocations: 4.516 kB / 0.5181 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.4283, allocations: 1.312 kB / 0.5181 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.94e-05/0.4284, allocations: 132.3 kB / 0.5182 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.702e-05/0.4284, allocations: 16.3 kB / 0.5183 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.4284, allocations: 10.08 kB / 0.5183 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.4284, allocations: 3.938 kB / 0.5183 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4285, allocations: 58.8 kB / 0.5183 GB, free: 9.023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4285, allocations: 0 / 0.5183 GB, free: 9.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.4287, allocations: 40.09 kB / 0.5184 GB, free: 8.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.4287, allocations: 86.83 kB / 0.5184 GB, free: 8.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.164e-05/0.4287, allocations: 85.7 kB / 0.5185 GB, free: 8.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.4287, allocations: 27.58 kB / 0.5186 GB, free: 8.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.349e-05/0.4288, allocations: 80.7 kB / 0.5186 GB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.4288, allocations: 3.906 kB / 0.5186 GB, free: 8.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.4288, allocations: 0 / 0.5186 GB, free: 8.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.4288, allocations: 313.5 kB / 0.5189 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.4289, allocations: 0 / 0.5189 GB, free: 8.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.4289, allocations: 6.312 kB / 0.5189 GB, free: 8.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.4289, allocations: 6.75 kB / 0.5189 GB, free: 8.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4289, allocations: 0 / 0.5189 GB, free: 8.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.116e-05/0.429, allocations: 37.02 kB / 0.519 GB, free: 8.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.429, allocations: 4.781 kB / 0.519 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.429, allocations: 1.375 kB / 0.519 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.429, allocations: 0 / 0.519 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.429, allocations: 0.7969 kB / 0.519 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.429, allocations: 5.281 kB / 0.519 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.4291, allocations: 4.094 kB / 0.519 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.4291, allocations: 3.984 kB / 0.519 GB, free: 8.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.4291, allocations: 130.8 kB / 0.5191 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.4291, allocations: 1.375 kB / 0.5191 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191e-05/0.4291, allocations: 3.609 kB / 0.5191 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.4292, allocations: 0 / 0.5191 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4292, allocations: 2.078 kB / 0.5191 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4292, allocations: 3.906 kB / 0.5191 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.661e-05/0.4292, allocations: 125.5 kB / 0.5193 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.4292, allocations: 4 kB / 0.5193 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.4292, allocations: 1.891 kB / 0.5193 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.4292, allocations: 0 / 0.5193 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4293, allocations: 2.125 kB / 0.5193 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4293, allocations: 0 / 0.5193 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4293, allocations: 7.938 kB / 0.5193 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.686e-05/0.4294, allocations: 67.83 kB / 0.5193 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.4294, allocations: 77.81 kB / 0.5194 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.4294, allocations: 5.406 kB / 0.5194 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.4294, allocations: 0.75 kB / 0.5194 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.4294, allocations: 1.375 kB / 0.5194 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.4294, allocations: 1.375 kB / 0.5194 GB, free: 7.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.593e-05/0.4295, allocations: 79.62 kB / 0.5195 GB, free: 7.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.4297, allocations: 24.39 kB / 0.5195 GB, free: 7.758 MB / 346.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 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.4301, allocations: 176.2 kB / 0.5197 GB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.355e-05/0.4302, allocations: 30.58 kB / 0.5197 GB, free: 7.617 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4302, allocations: 0 / 0.5197 GB, free: 7.617 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.4302, allocations: 32.39 kB / 0.5197 GB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.189e-05/0.4303, allocations: 14.08 kB / 0.5198 GB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001328/0.4304, allocations: 45.66 kB / 0.5198 GB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4306, allocations: 0.6824 MB / 0.5205 GB, free: 6.809 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4306, allocations: 0 / 0.5205 GB, free: 6.809 MB / 346.7 MB Notification: Performance of Templates: time 0.002583/0.4332, allocations: 0.6129 MB / 0.5211 GB, free: 6.715 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe 2>&1)