Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 94.28 kB / 16.3 MB, free: 5.656 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.002051/0.002051, allocations: 188.5 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005013, allocations: 13 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.0021/0.1259, allocations: 1.233 MB / 328.9 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1279, allocations: 0.8631 MB / 329.8 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.128, allocations: 0 / 329.8 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.396e-05/0.1281, allocations: 11.92 kB / 329.8 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1283, allocations: 27.91 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.1286, allocations: 39.89 kB / 329.9 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1287, allocations: 83.84 kB / 329.9 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1289, allocations: 21.39 kB / 330 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.1296, allocations: 479.1 kB / 330.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1298, allocations: 103.8 kB / 330.5 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.1298, allocations: 7.938 kB / 330.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.428e-05/0.1298, allocations: 8 kB / 330.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.13, allocations: 67.75 kB / 330.6 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1301, allocations: 81.52 kB / 330.7 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.1305, allocations: 363.1 kB / 331.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1306, allocations: 0 / 331.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1306, allocations: 0 / 331.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1306, allocations: 0 / 331.1 MB, free: 0.7109 MB / 270.1 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.0009635/0.1316, allocations: 0.7323 MB / 331.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.681e-05/0.1316, allocations: 8.031 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1318, allocations: 47.52 kB / 331.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.1322, allocations: 281.2 kB / 332.1 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.1323, allocations: 12 kB / 332.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1323, allocations: 8 kB / 332.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.1328, allocations: 161.5 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1328, allocations: 4 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.1329, allocations: 8 kB / 332.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1329, allocations: 0 / 332.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.1331, allocations: 83.95 kB / 332.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1343, allocations: 0.512 MB / 332.9 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.1346, allocations: 122.5 kB / 333 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1346, allocations: 0 / 333 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005108/0.1351, allocations: 246.6 kB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1351, allocations: 4 kB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001165/0.1363, allocations: 0.7614 MB / 334 MB, free: 13.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1364, allocations: 199.9 kB / 334.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.1371, allocations: 0.56 MB / 334.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.1372, allocations: 33.7 kB / 334.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1373, allocations: 117.1 kB / 334.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.1374, allocations: 27.62 kB / 334.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.1374, allocations: 4 kB / 335 MB, free: 12.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1376, allocations: 334.8 kB / 335.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1377, allocations: 75.97 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.1379, allocations: 109.3 kB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.1381, allocations: 216.6 kB / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1382, allocations: 0 / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006658/0.1388, allocations: 0.4979 MB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1389, allocations: 152.4 kB / 336.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.139, allocations: 8.016 kB / 336.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.139, allocations: 0 / 336.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.699e-05/0.139, allocations: 112 / 336.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.139, allocations: 7.938 kB / 336.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1392, allocations: 12 kB / 336.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.1393, allocations: 105.2 kB / 336.4 MB, free: 10.85 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,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,Select.y,Input0.y) * Number of discrete states: 0 () * Number of clocked 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.0004101/0.1398, allocations: 400.1 kB / 336.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.1398, allocations: 47.44 kB / 336.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.1399, allocations: 79.47 kB / 337 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.14, allocations: 0 / 337 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.14, allocations: 0 / 337 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.14, allocations: 3.984 kB / 337 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1411, allocations: 0.9518 MB / 337.9 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1411, allocations: 0 / 337.9 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.1412, allocations: 4 kB / 337.9 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1412, allocations: 7.875 kB / 337.9 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.1412, allocations: 19.98 kB / 338 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1412, allocations: 4 kB / 338 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1412, allocations: 0 / 338 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.142, allocations: 0.6595 MB / 338.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.1424, allocations: 260.3 kB / 338.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.1425, allocations: 12 kB / 338.9 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1427, allocations: 19.89 kB / 338.9 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.1428, allocations: 55.92 kB / 339 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.143, allocations: 101.2 kB / 339.1 MB, free: 8.047 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.1435, allocations: 418.8 kB / 339.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1435, allocations: 4 kB / 339.5 MB, free: 7.637 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1439, allocations: 59.88 kB / 339.5 MB, free: 7.578 MB / 286.1 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.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,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,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) * Number of clocked states: 0 () * 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.0001977/0.1441, allocations: 115.1 kB / 339.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007204/0.1448, allocations: 0.5321 MB / 340.2 MB, free: 6.859 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1448, allocations: 0 / 340.2 MB, free: 6.859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.1453, allocations: 469.1 kB / 340.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.146, allocations: 162 kB / 340.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1472, allocations: 0.8374 MB / 341.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.1478, allocations: 0.8263 MB / 342.4 MB, free: 4.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.963e-05/0.1478, allocations: 16.86 kB / 342.5 MB, free: 4.449 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1479, allocations: 11.44 kB / 342.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1479, allocations: 0 / 342.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of Templates: time 0.01036/0.1582, allocations: 6.567 MB / 349 MB, free: 13.71 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) Environment - environmentSimulation: