Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001618/0.001618, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.864/1.864, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.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.001555/0.001556, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3305, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004342/0.3349, allocations: 1.802 MB / 327.1 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.3378, allocations: 0.988 MB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3379, allocations: 3 kB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3381, allocations: 28.91 kB / 328.1 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3383, allocations: 34.56 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3387, allocations: 98.81 kB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.3394, allocations: 318.3 kB / 328.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.3396, allocations: 48.33 kB / 328.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.341, allocations: 0.72 MB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.3413, allocations: 145.2 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3414, allocations: 21.09 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.3415, allocations: 21.09 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.3418, allocations: 139.9 kB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.3422, allocations: 236.5 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3432, allocations: 0.7365 MB / 330.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3432, allocations: 1.344 kB / 330.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3432, allocations: 4 kB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3432, allocations: 0 / 330.6 MB, free: 14.14 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001766/0.345, allocations: 1.162 MB / 331.8 MB, free: 13.08 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.3451, allocations: 13.78 kB / 331.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.3453, allocations: 78.28 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.3459, allocations: 394.6 kB / 332.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.3459, allocations: 15.09 kB / 332.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.346, allocations: 15.5 kB / 332.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.3467, allocations: 262.7 kB / 332.6 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3467, allocations: 4 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.3468, allocations: 8 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3468, allocations: 4 kB / 332.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.3471, allocations: 136.2 kB / 332.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.3485, allocations: 0.7348 MB / 333.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.349, allocations: 202.4 kB / 333.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.3493, allocations: 180.7 kB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3494, allocations: 0 / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007332/0.3501, allocations: 393.8 kB / 334.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.3501, allocations: 3.938 kB / 334.2 MB, free: 10.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001556/0.3517, allocations: 0.9201 MB / 335.1 MB, free: 9.805 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002144/0.3519, allocations: 285.1 kB / 335.4 MB, free: 9.465 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.3533, allocations: 0.9529 MB / 336.3 MB, free: 8.504 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.3534, allocations: 37.7 kB / 336.4 MB, free: 8.461 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3535, allocations: 126 kB / 336.5 MB, free: 8.332 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.3536, allocations: 67.19 kB / 336.6 MB, free: 8.266 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.3538, allocations: 157.1 kB / 336.7 MB, free: 8.105 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.354, allocations: 342.8 kB / 337.1 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.3543, allocations: 124.2 kB / 337.2 MB, free: 7.641 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3546, allocations: 159.9 kB / 337.3 MB, free: 7.473 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.3554, allocations: 0.7068 MB / 338 MB, free: 6.652 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3554, allocations: 3.938 kB / 338 MB, free: 6.648 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001074/0.3565, allocations: 0.7525 MB / 338.8 MB, free: 5.84 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.3567, allocations: 249.6 kB / 339 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3568, allocations: 0 / 339 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.3568, allocations: 0 / 339 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.3568, allocations: 11.94 kB / 339.1 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3569, allocations: 3.984 kB / 339.1 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.3572, allocations: 31.98 kB / 339.1 MB, free: 5.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.3573, allocations: 104.2 kB / 339.2 MB, free: 5.398 MB / 270.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.0007556/0.3581, allocations: 0.6123 MB / 339.8 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3582, allocations: 79.14 kB / 339.9 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3584, allocations: 130.8 kB / 340 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3585, allocations: 4 kB / 340 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3585, allocations: 0 / 340 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3585, allocations: 0 / 340 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3604, allocations: 1.429 MB / 341.4 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3604, allocations: 0 / 341.4 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.3604, allocations: 7.938 kB / 341.5 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3604, allocations: 4 kB / 341.5 MB, free: 2.965 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.3605, allocations: 27.98 kB / 341.5 MB, free: 2.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3605, allocations: 0 / 341.5 MB, free: 2.938 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3605, allocations: 7.969 kB / 341.5 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.3619, allocations: 0.9571 MB / 342.4 MB, free: 1.906 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/0.3624, allocations: 419.7 kB / 342.9 MB, free: 1.477 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3626, allocations: 24 kB / 342.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3628, allocations: 19.98 kB / 342.9 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.363, allocations: 55.94 kB / 343 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.3631, allocations: 115.8 kB / 343.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0009052/0.364, allocations: 0.686 MB / 343.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.364, allocations: 0 / 343.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3644, allocations: 103.8 kB / 343.9 MB, free: 492 kB / 270.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.0002131/0.3646, allocations: 151.2 kB / 344 MB, free: 332 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3657, allocations: 0.8935 MB / 344.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3658, allocations: 0 / 344.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006477/0.3664, allocations: 0.753 MB / 345.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3675, allocations: 278.6 kB / 345.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3697, allocations: 1.294 MB / 347.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.3705, allocations: 0.944 MB / 348.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.3708, allocations: 97.33 kB / 348.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.3709, allocations: 43.36 kB / 348.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3709, allocations: 0 / 348.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of Templates: time 0.01492/0.3858, allocations: 9.495 MB / 357.8 MB, free: 2.25 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)