Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1") [: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.1+maint.om/package.mo): time 0.003572/0.003571, allocations: 178.4 kB / 7.451 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.179/1.179, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001669/0.001668, allocations: 103.9 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.717e-06/8.737e-06, allocations: 4 kB / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08652, allocations: 38.76 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3522, allocations: 71.51 MB / 372 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.3525, allocations: 71.02 kB / 372.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.05481/0.4073, allocations: 27.51 MB / 399.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.4074, allocations: 4 kB / 399.6 MB, free: 7.004 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000767/0.4082, allocations: 0.6696 MB / 400.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.4082, allocations: 8.031 kB / 400.3 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.4084, allocations: 47.44 kB / 400.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.4088, allocations: 284.1 kB / 400.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.4088, allocations: 4 kB / 400.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.4088, allocations: 8 kB / 400.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001687/0.409, allocations: 77.09 kB / 400.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.4093, allocations: 150.3 kB / 400.8 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4093, allocations: 0 / 400.8 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.4093, allocations: 10.69 kB / 400.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4093, allocations: 3.906 kB / 400.8 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.4102, allocations: 499.8 kB / 401.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.4104, allocations: 113.6 kB / 401.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.4105, allocations: 101.6 kB / 401.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4106, allocations: 3.938 kB / 401.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.4108, allocations: 220.1 kB / 401.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.4108, allocations: 0 / 401.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004641/0.4113, allocations: 253.6 kB / 402 MB, free: 4.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4114, allocations: 195.6 kB / 402.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.412, allocations: 480.2 kB / 402.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.412, allocations: 37.64 kB / 402.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.4121, allocations: 100.3 kB / 402.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.4121, allocations: 31.33 kB / 402.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.4122, allocations: 4 kB / 402.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4123, allocations: 329.1 kB / 403.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.4124, allocations: 77.36 kB / 403.2 MB, free: 3.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4126, allocations: 77.41 kB / 403.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.4127, allocations: 65.52 kB / 403.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4127, allocations: 0 / 403.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003873/0.4131, allocations: 241.8 kB / 403.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4131, allocations: 7.938 kB / 403.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4131, allocations: 64 / 403.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4131, allocations: 11.98 kB / 403.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.929e-05/0.4132, allocations: 0 / 403.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4132, allocations: 0 / 403.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.4133, allocations: 15.98 kB / 403.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4135, allocations: 89.3 kB / 403.7 MB, free: 3.055 MB / 282.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: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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 0.000236/0.4137, allocations: 272.3 kB / 404 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.4138, allocations: 47.47 kB / 404 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.4139, allocations: 73.86 kB / 404.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4139, allocations: 0 / 404.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4139, allocations: 0 / 404.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.414, allocations: 0 / 404.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008664/0.4148, allocations: 0.6328 MB / 404.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4148, allocations: 0 / 404.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/0.4149, allocations: 4 kB / 404.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4149, allocations: 7.984 kB / 404.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.4149, allocations: 15.38 kB / 404.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4149, allocations: 4 kB / 404.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.4149, allocations: 7.891 kB / 404.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004979/0.4154, allocations: 369 kB / 405.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.4159, allocations: 264.4 kB / 405.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.416, allocations: 11.69 kB / 405.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.4162, allocations: 16 kB / 405.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.4164, allocations: 55.75 kB / 405.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.4166, allocations: 111.2 kB / 405.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0005676/0.4171, allocations: 401.1 kB / 406 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000331/0.4175, allocations: 40 kB / 406 MB, free: 0.9336 MB / 282.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.0002718/0.4177, allocations: 114.6 kB / 406.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005067/0.4183, allocations: 337.3 kB / 406.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4183, allocations: 0 / 406.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.4186, allocations: 322.3 kB / 406.8 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/0.4194, allocations: 168 kB / 406.9 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.4208, allocations: 0.5863 MB / 407.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.4214, allocations: 0.8493 MB / 408.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4214, allocations: 0 / 408.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.01044/0.4318, allocations: 6.265 MB / 414.6 MB, free: 8.27 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1)