Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 93.03 kB / 16.65 MB, free: 6.598 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.001529/0.00153, allocations: 184.9 kB / 17.56 MB, free: 6.199 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.849/1.849, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005183/0.0005186, allocations: 8 kB / 280.7 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1448, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002816/0.1477, allocations: 1.508 MB / 329.8 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.1502, allocations: 1.015 MB / 330.8 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.1503, allocations: 0 / 330.8 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1505, allocations: 23.84 kB / 330.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.257e-05/0.1506, allocations: 23.78 kB / 330.9 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.151, allocations: 91.84 kB / 331 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1513, allocations: 251.4 kB / 331.2 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1515, allocations: 53.66 kB / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008896/0.1524, allocations: 0.7173 MB / 332 MB, free: 72 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1526, allocations: 135.4 kB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.1527, allocations: 8 kB / 332.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.1527, allocations: 8 kB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1529, allocations: 135.4 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.1531, allocations: 244 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006932/0.1538, allocations: 0.7202 MB / 333.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1538, allocations: 0 / 333.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1539, allocations: 0 / 333.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1539, allocations: 0 / 333.2 MB, free: 14.82 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001214/0.1551, allocations: 1.037 MB / 334.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.1551, allocations: 12.03 kB / 334.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1553, allocations: 76 kB / 334.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.1558, allocations: 396.2 kB / 334.7 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.1559, allocations: 12.56 kB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.1559, allocations: 16.38 kB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.1566, allocations: 250.2 kB / 335 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1566, allocations: 4 kB / 335 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.1566, allocations: 8 kB / 335 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1567, allocations: 8 kB / 335 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.157, allocations: 140.2 kB / 335.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1584, allocations: 0.7309 MB / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.1588, allocations: 202.4 kB / 336.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1592, allocations: 176.8 kB / 336.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1592, allocations: 0 / 336.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/0.1598, allocations: 389.8 kB / 336.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.1598, allocations: 0 / 336.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001681/0.1615, allocations: 0.9325 MB / 337.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.1617, allocations: 285 kB / 337.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.163, allocations: 0.9451 MB / 338.8 MB, free: 8.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.1632, allocations: 37.7 kB / 338.8 MB, free: 8.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1633, allocations: 134 kB / 339 MB, free: 8.695 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.1634, allocations: 63.25 kB / 339 MB, free: 8.633 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1635, allocations: 41.7 kB / 339.1 MB, free: 8.586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1637, allocations: 334.8 kB / 339.4 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.164, allocations: 132.2 kB / 339.5 MB, free: 8.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.1642, allocations: 159.9 kB / 339.7 MB, free: 7.953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.165, allocations: 0.7021 MB / 340.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1651, allocations: 3.938 kB / 340.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001191/0.1663, allocations: 0.7642 MB / 341.2 MB, free: 6.312 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.1665, allocations: 241.6 kB / 341.4 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1665, allocations: 0 / 341.4 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.1666, allocations: 4 kB / 341.4 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.1666, allocations: 8 kB / 341.4 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.1667, allocations: 7.984 kB / 341.4 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.167, allocations: 31.91 kB / 341.5 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.1672, allocations: 108.2 kB / 341.6 MB, free: 5.871 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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 0.001164/0.1684, allocations: 0.6124 MB / 342.2 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1685, allocations: 79.06 kB / 342.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1688, allocations: 130.9 kB / 342.4 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1688, allocations: 0 / 342.4 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.1688, allocations: 0 / 342.4 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1689, allocations: 0 / 342.4 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.1713, allocations: 1.433 MB / 343.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1713, allocations: 0 / 343.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.1713, allocations: 4 kB / 343.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1714, allocations: 0 / 343.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.1714, allocations: 27.98 kB / 343.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1714, allocations: 0 / 343.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.1714, allocations: 4 kB / 343.8 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.173, allocations: 0.9649 MB / 344.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.1737, allocations: 423.7 kB / 345.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.1738, allocations: 20 kB / 345.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.1741, allocations: 27.98 kB / 345.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.1743, allocations: 55.88 kB / 345.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.1745, allocations: 115.8 kB / 345.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.1756, allocations: 0.6938 MB / 346.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1756, allocations: 0 / 346.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.1761, allocations: 99.84 kB / 346.2 MB, free: 0.9453 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0002263/0.1764, allocations: 151.2 kB / 346.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.1775, allocations: 0.8818 MB / 347.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1775, allocations: 0 / 347.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007337/0.1783, allocations: 0.7491 MB / 348 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.1794, allocations: 246.8 kB / 348.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.1822, allocations: 1.499 MB / 349.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.183, allocations: 0.944 MB / 350.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.1833, allocations: 97.33 kB / 350.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1834, allocations: 47.34 kB / 350.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.395e-06/0.1834, allocations: 0 / 350.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Templates: time 0.0141/0.1976, allocations: 8.408 MB / 359.2 MB, free: 3.652 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)